2.4.0.80040 - Statement - Consolidated Statements of Redeemable Convertible Preferred Stock and Stockholders' Deficittruefalsefalse1falseColumnus-gaap_StatementEquityComponentsAxisAxis*ColumnunitUnit*truefalseEquity Component [Domain]us-gaap_StatementEquityComponentsAxisus-gaap_EquityComponentDomainus-gaap_StatementEquityComponentsAxisexplicitMemberEquity Component [Domain]SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170
USDfalsefalse$na0001-01-01T00:00:000001-01-01T00:00:00USDUSD$2falseColumnus-gaap_StatementEquityComponentsAxisAxis*ColumnunitUnit*falsefalseRedeemable Convertible Preferred Stockus-gaap_StatementEquityComponentsAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_RedeemableConvertiblePreferredStockMemberus-gaap_StatementEquityComponentsAxisexplicitMemberRedeemable Convertible Preferred StockSharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170
USDtruefalse$na0001-01-01T00:00:000001-01-01T00:00:00falsefalseRedeemable Convertible Preferred Stockus-gaap_StatementEquityComponentsAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_RedeemableConvertiblePreferredStockMemberus-gaap_StatementEquityComponentsAxisexplicitMemberUSDUSD$3falseColumnus-gaap_StatementEquityComponentsAxisAxis*ColumnunitUnit*falsefalseCommon Stockus-gaap_StatementEquityComponentsAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CommonStockMemberus-gaap_StatementEquityComponentsAxisexplicitMemberCommon StockSharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170
USDtruefalse$na0001-01-01T00:00:000001-01-01T00:00:00falsefalseCommon Stockus-gaap_StatementEquityComponentsAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CommonStockMemberus-gaap_StatementEquityComponentsAxisexplicitMemberUSDUSD$4falseColumnus-gaap_StatementEquityComponentsAxisAxis*ColumnunitUnit*falsefalseAdditional Paid in Capitalus-gaap_StatementEquityComponentsAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_AdditionalPaidInCapitalMemberus-gaap_StatementEquityComponentsAxisexplicitMemberAdditional Paid in CapitalUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170
USDtruefalse$na0001-01-01T00:00:000001-01-01T00:00:00falsefalseAdditional Paid in Capitalus-gaap_StatementEquityComponentsAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_AdditionalPaidInCapitalMemberus-gaap_StatementEquityComponentsAxisexplicitMemberUSDUSD$5falseColumnus-gaap_StatementEquityComponentsAxisAxis*ColumnunitUnit*falsefalseAccumulated deficitus-gaap_StatementEquityComponentsAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_RetainedEarningsMemberus-gaap_StatementEquityComponentsAxisexplicitMemberAccumulated deficitUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170
USDtruefalse$na0001-01-01T00:00:000001-01-01T00:00:00falsefalseAccumulated deficitus-gaap_StatementEquityComponentsAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_RetainedEarningsMemberus-gaap_StatementEquityComponentsAxisexplicitMemberUSDUSD$6falseColumnus-gaap_StatementEquityComponentsAxisAxis*ColumnunitUnit*falsefalseAccumulated other comprehensive income (loss)us-gaap_StatementEquityComponentsAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_AccumulatedOtherComprehensiveIncomeMemberus-gaap_StatementEquityComponentsAxisexplicitMemberAccumulated other comprehensive income (loss)USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170
USDtruefalse$na0001-01-01T00:00:000001-01-01T00:00:00falsefalseAccumulated other comprehensive income (loss)us-gaap_StatementEquityComponentsAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_AccumulatedOtherComprehensiveIncomeMemberus-gaap_StatementEquityComponentsAxisexplicitMemberUSDUSD$1falseRowperiodPeriod*RowprimaryElement*3false
5us-gaap_StockholdersEquityus-gaap_truecreditinstantfalsefalsefalsefalsefalsetruefalsefalseperiodStartLabelxbrli:monetaryItemTypemonetaryTotal of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which are attributable to the parent. The amount of the economic entity's stockholders' equity attributable to the parent excludes the amount of stockholders' equity which is allocable to that ownership interest in subsidiary equity which is not attributable to the parent (noncontrolling interest, minority interest). This excludes temporary equity and is sometimes called permanent equity.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section S99
-Paragraph 2
-Subparagraph (SAB TOPIC 4.E)
-URI http://asc.fasb.org/extlink&oid=27010918&loc=d3e74512-122707
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Staff Accounting Bulletin (SAB)
-Number Topic 4
-Section E
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.29-31)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 29, 30, 31
-Article 5
false2duration2012-01-01T00:00:002012-06-30T00:00:00
0us-gaap_StockholdersEquityus-gaap_truecreditinstantfalsefalsetruefalsefalsetruefalsefalseperiodStartLabel| 1truefalsefalse-138419000-138419000USD$falsetruefalse | 2truefalsefalse119997000119997000USD$falsetruefalse | 3truefalsefalse2200022000USD$falsetruefalse | 4falsefalsefalse00falsefalsefalse | 5truefalsefalse-138441000-138441000USD$falsetruefalse | 6falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryTotal of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which are attributable to the parent. The amount of the economic entity's stockholders' equity attributable to the parent excludes the amount of stockholders' equity which is allocable to that ownership interest in subsidiary equity which is not attributable to the parent (noncontrolling interest, minority interest). This excludes temporary equity and is sometimes called permanent equity.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section S99
-Paragraph 2
-Subparagraph (SAB TOPIC 4.E)
-URI http://asc.fasb.org/extlink&oid=27010918&loc=d3e74512-122707
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Staff Accounting Bulletin (SAB)
-Number Topic 4
-Section E
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.29-31)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 29, 30, 31
-Article 5
falseinstant2011-12-31T00:00:000001-01-01T00:00:002
2falseRowperiodPeriod*RowprimaryElement*4false
5us-gaap_CommonStockSharesOutstandingus-gaap_truenainstantfalsefalsefalsefalsefalsetruefalsefalseperiodStartLabelxbrli:sharesItemTypesharesNumber of shares of common stock outstanding. Common stock represent the ownership interest in a corporation.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Article 3
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section 50
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21463-112644
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.3-04)
-URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.29)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 30
-Article 5
false1duration2012-01-01T00:00:002012-06-30T00:00:00
0us-gaap_CommonStockSharesOutstandingus-gaap_truenainstantfalsefalsetruefalsefalsetruefalsefalseperiodStartLabel| 1falsefalsefalse00falsefalsefalse | 2truefalsefalse1122716911227169falsefalsefalse | 3truefalsefalse21679282167928falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 5falsefalsefalse00falsefalsefalse | 6falsefalsefalse00falsefalsefalse | xbrli:sharesItemTypesharesNumber of shares of common stock outstanding. Common stock represent the ownership interest in a corporation.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Article 3
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section 50
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21463-112644
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.3-04)
-URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.29)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 30
-Article 5
falseinstant2011-12-31T00:00:000001-01-01T00:00:001
3trueRowperiodPeriod*RowprimaryElement*2true
4us-gaap_IncreaseDecreaseInStockholdersEquityRollForwardus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabelxbrli:stringItemTypestringfalse0duration2012-01-01T00:00:002012-06-30T00:00:00
0us-gaap_IncreaseDecreaseInStockholdersEquityRollForwardus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 5falsefalsefalse00falsefalsefalse | 6falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
4falseRowperiodPeriod*RowprimaryElement*5false
5us-gaap_NetIncomeLossus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabelxbrli:monetaryItemTypemonetaryThe portion of profit or loss for the period, net of income taxes, which is attributable to the parent.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Paragraph 20
-Article 9
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Other Comprehensive Income
-URI http://asc.fasb.org/extlink&oid=6519514
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Net Income
-URI http://asc.fasb.org/extlink&oid=6518256
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 260
-SubTopic 10
-Section 50
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257
Reference 6: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 944
-SubTopic 225
-Section S99
-Paragraph 1
-Subparagraph (SX 210.7-04.19)
-URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913
Reference 7: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 225
-SubTopic 10
-Section S99
-Paragraph 2
-Subparagraph (SX 210.5-03.18)
-URI http://asc.fasb.org/extlink&oid=26872669&loc=d3e20235-122688
Reference 8: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 944
-SubTopic 225
-Section S99
-Paragraph 1
-Subparagraph (SX 210.7-04.22)
-URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913
Reference 9: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 220
-SubTopic 10
-Section 45
-Paragraph 6
-URI http://asc.fasb.org/extlink&oid=28358780&loc=d3e565-108580
Reference 10: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 19
-Article 5
false2duration2012-01-01T00:00:002012-06-30T00:00:00
0us-gaap_NetIncomeLossus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse-18215000-18215000falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 5truefalsefalse-18215000-18215000falsefalsefalse | 6falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryThe portion of profit or loss for the period, net of income taxes, which is attributable to the parent.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Paragraph 20
-Article 9
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Other Comprehensive Income
-URI http://asc.fasb.org/extlink&oid=6519514
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Net Income
-URI http://asc.fasb.org/extlink&oid=6518256
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 260
-SubTopic 10
-Section 50
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257
Reference 6: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 944
-SubTopic 225
-Section S99
-Paragraph 1
-Subparagraph (SX 210.7-04.19)
-URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913
Reference 7: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 225
-SubTopic 10
-Section S99
-Paragraph 2
-Subparagraph (SX 210.5-03.18)
-URI http://asc.fasb.org/extlink&oid=26872669&loc=d3e20235-122688
Reference 8: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 944
-SubTopic 225
-Section S99
-Paragraph 1
-Subparagraph (SX 210.7-04.22)
-URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913
Reference 9: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 220
-SubTopic 10
-Section 45
-Paragraph 6
-URI http://asc.fasb.org/extlink&oid=28358780&loc=d3e565-108580
Reference 10: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 19
-Article 5
false2
5falseRowperiodPeriod*RowprimaryElement*7false
5us-gaap_StockIssuedDuringPeriodValueStockOptionsExercisedus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabelxbrli:monetaryItemTypemonetaryValue of stock issued as a result of the exercise of stock options.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Article 3
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section 50
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21463-112644
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.3-04)
-URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.29-31)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 29, 30, 31
-Article 5
false2duration2012-01-01T00:00:002012-06-30T00:00:00
0us-gaap_StockIssuedDuringPeriodValueStockOptionsExercisedus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse90009000falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4truefalsefalse90009000falsefalsefalse | 5falsefalsefalse00falsefalsefalse | 6falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryValue of stock issued as a result of the exercise of stock options.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Article 3
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section 50
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21463-112644
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.3-04)
-URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.29-31)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 29, 30, 31
-Article 5
false2
6falseRowperiodPeriod*RowprimaryElement*8false
6us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercisedus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabelxbrli:sharesItemTypesharesNumber of share options (or share units) exercised during the current period.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Article 3
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section 50
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21463-112644
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.3-04)
-URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.28,29)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (c)(1)(iv)(2)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
Reference 6: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 29, 30
-Article 5
false1duration2012-01-01T00:00:002012-06-30T00:00:00
0us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercisedus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3truefalsefalse57005700falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 5falsefalsefalse00falsefalsefalse | 6falsefalsefalse00falsefalsefalse | xbrli:sharesItemTypesharesNumber of share options (or share units) exercised during the current period.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Article 3
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section 50
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21463-112644
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.3-04)
-URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.28,29)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (c)(1)(iv)(2)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
Reference 6: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 29, 30
-Article 5
false1
7falseRowperiodPeriod*RowprimaryElement*10false
5ontx_AdjustmentsToAdditionalPaidInCapitalShareBasedCompensationSettlementOfOptionLiabilityontx_falsecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabelxbrli:monetaryItemTypemonetaryAmount of increase in additional paid in capital (APIC) resulting from settlement of option liability.No definition available.false2duration2012-01-01T00:00:002012-06-30T00:00:00
0ontx_AdjustmentsToAdditionalPaidInCapitalShareBasedCompensationSettlementOfOptionLiabilityontx_falsecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse3400034000falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4truefalsefalse3400034000falsefalsefalse | 5falsefalsefalse00falsefalsefalse | 6falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of increase in additional paid in capital (APIC) resulting from settlement of option liability.No definition available.false2
8falseRowperiodPeriod*RowprimaryElement*11false
5ontx_TemporaryEquityIssuedDuringPeriodValueExerciseOfWarrantsontx_falsecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabelxbrli:monetaryItemTypemonetaryRepresents the value of temporary stock issued during the period upon exercise of warrants.No definition available.false2duration2012-01-01T00:00:002012-06-30T00:00:00
0ontx_TemporaryEquityIssuedDuringPeriodValueExerciseOfWarrantsontx_falsecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2truefalsefalse28020002802000falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 5falsefalsefalse00falsefalsefalse | 6falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryRepresents the value of temporary stock issued during the period upon exercise of warrants.No definition available.false2
9falseRowperiodPeriod*RowprimaryElement*12false
6ontx_TemporaryEquityIssuedDuringPeriodSharesExerciseOfWarrantsontx_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabelxbrli:sharesItemTypesharesRepresents the number of shares of temporary stock issued during the period upon exercise of warrants.No definition available.false1duration2012-01-01T00:00:002012-06-30T00:00:00
0ontx_TemporaryEquityIssuedDuringPeriodSharesExerciseOfWarrantsontx_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2truefalsefalse221399221399falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 5falsefalsefalse00falsefalsefalse | 6falsefalsefalse00falsefalsefalse | xbrli:sharesItemTypesharesRepresents the number of shares of temporary stock issued during the period upon exercise of warrants.No definition available.false1
10falseRowperiodPeriod*RowprimaryElement*13false
5us-gaap_TemporaryEquityAccretionToRedemptionValueus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabelxbrli:monetaryItemTypemonetaryValue of accretion of temporary equity to its redemption value during the period.No definition available.false2duration2012-01-01T00:00:002012-06-30T00:00:00
0us-gaap_TemporaryEquityAccretionToRedemptionValueus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse-2158000-2158000falsefalsefalse | 2truefalsefalse21580002158000falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4truefalsefalse-43000-43000falsefalsefalse | 5truefalsefalse-2115000-2115000falsefalsefalse | 6falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryValue of accretion of temporary equity to its redemption value during the period.No definition available.false2
11falseRowperiodPeriod*RowprimaryElement*15false
5us-gaap_StockholdersEquityus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsetruefalseperiodEndLabelxbrli:monetaryItemTypemonetaryTotal of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which are attributable to the parent. The amount of the economic entity's stockholders' equity attributable to the parent excludes the amount of stockholders' equity which is allocable to that ownership interest in subsidiary equity which is not attributable to the parent (noncontrolling interest, minority interest). This excludes temporary equity and is sometimes called permanent equity.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section S99
-Paragraph 2
-Subparagraph (SAB TOPIC 4.E)
-URI http://asc.fasb.org/extlink&oid=27010918&loc=d3e74512-122707
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Staff Accounting Bulletin (SAB)
-Number Topic 4
-Section E
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.29-31)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 29, 30, 31
-Article 5
false2duration2012-01-01T00:00:002012-06-30T00:00:00
0us-gaap_StockholdersEquityus-gaap_truecreditinstantfalsefalsetruefalsefalsefalsetruefalseperiodEndLabel| 1truefalsefalse-158749000-158749000falsefalsefalse | 2truefalsefalse124957000124957000falsefalsefalse | 3truefalsefalse2200022000falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 5truefalsefalse-158771000-158771000falsefalsefalse | 6falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryTotal of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which are attributable to the parent. The amount of the economic entity's stockholders' equity attributable to the parent excludes the amount of stockholders' equity which is allocable to that ownership interest in subsidiary equity which is not attributable to the parent (noncontrolling interest, minority interest). This excludes temporary equity and is sometimes called permanent equity.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section S99
-Paragraph 2
-Subparagraph (SAB TOPIC 4.E)
-URI http://asc.fasb.org/extlink&oid=27010918&loc=d3e74512-122707
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Staff Accounting Bulletin (SAB)
-Number Topic 4
-Section E
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.29-31)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 29, 30, 31
-Article 5
falseinstant2012-06-30T00:00:000001-01-01T00:00:002
12falseRowperiodPeriod*RowprimaryElement*16false
5us-gaap_CommonStockSharesOutstandingus-gaap_truenainstantfalsefalsefalsefalsefalsefalsetruefalseperiodEndLabelxbrli:sharesItemTypesharesNumber of shares of common stock outstanding. Common stock represent the ownership interest in a corporation.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Article 3
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section 50
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21463-112644
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.3-04)
-URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.29)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 30
-Article 5
false1duration2012-01-01T00:00:002012-06-30T00:00:00
0us-gaap_CommonStockSharesOutstandingus-gaap_truenainstantfalsefalsetruefalsefalsefalsetruefalseperiodEndLabel| 1falsefalsefalse00falsefalsefalse | 2truefalsefalse1144856811448568falsefalsefalse | 3truefalsefalse21736282173628falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 5falsefalsefalse00falsefalsefalse | 6falsefalsefalse00falsefalsefalse | xbrli:sharesItemTypesharesNumber of shares of common stock outstanding. Common stock represent the ownership interest in a corporation.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Article 3
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section 50
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21463-112644
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.3-04)
-URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.29)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 30
-Article 5
falseinstant2012-06-30T00:00:000001-01-01T00:00:001
13falseRowperiodPeriod*RowprimaryElement*3false
5us-gaap_StockholdersEquityus-gaap_truecreditinstantfalsefalsefalsefalsefalsetruefalsefalseperiodStartLabelxbrli:monetaryItemTypemonetaryTotal of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which are attributable to the parent. The amount of the economic entity's stockholders' equity attributable to the parent excludes the amount of stockholders' equity which is allocable to that ownership interest in subsidiary equity which is not attributable to the parent (noncontrolling interest, minority interest). This excludes temporary equity and is sometimes called permanent equity.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section S99
-Paragraph 2
-Subparagraph (SAB TOPIC 4.E)
-URI http://asc.fasb.org/extlink&oid=27010918&loc=d3e74512-122707
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Staff Accounting Bulletin (SAB)
-Number Topic 4
-Section E
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.29-31)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 29, 30, 31
-Article 5
false2duration2013-01-01T00:00:002013-06-30T00:00:00
0us-gaap_StockholdersEquityus-gaap_truecreditinstantfalsefalsetruefalsefalsetruefalsefalseperiodStartLabel| 1truefalsefalse-158306000-158306000falsefalsefalse | 2truefalsefalse201315000201315000falsefalsefalse | 3truefalsefalse2600026000falsefalsefalse | 4truefalsefalse1002100010021000falsefalsefalse | 5truefalsefalse-168353000-168353000falsefalsefalse | 6falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryTotal of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which are attributable to the parent. The amount of the economic entity's stockholders' equity attributable to the parent excludes the amount of stockholders' equity which is allocable to that ownership interest in subsidiary equity which is not attributable to the parent (noncontrolling interest, minority interest). This excludes temporary equity and is sometimes called permanent equity.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section S99
-Paragraph 2
-Subparagraph (SAB TOPIC 4.E)
-URI http://asc.fasb.org/extlink&oid=27010918&loc=d3e74512-122707
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Staff Accounting Bulletin (SAB)
-Number Topic 4
-Section E
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.29-31)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 29, 30, 31
-Article 5
falseinstant2012-12-31T00:00:000001-01-01T00:00:002
14falseRowperiodPeriod*RowprimaryElement*4false
5us-gaap_CommonStockSharesOutstandingus-gaap_truenainstantfalsefalsefalsefalsefalsetruefalsefalseperiodStartLabelxbrli:sharesItemTypesharesNumber of shares of common stock outstanding. Common stock represent the ownership interest in a corporation.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Article 3
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section 50
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21463-112644
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.3-04)
-URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.29)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 30
-Article 5
false1duration2013-01-01T00:00:002013-06-30T00:00:00
0us-gaap_CommonStockSharesOutstandingus-gaap_truenainstantfalsefalsetruefalsefalsetruefalsefalseperiodStartLabel| 1truefalsefalse26064842606484falsefalsefalse | 2truefalsefalse1691219916912199falsefalsefalse | 3truefalsefalse26064842606484falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 5falsefalsefalse00falsefalsefalse | 6falsefalsefalse00falsefalsefalse | xbrli:sharesItemTypesharesNumber of shares of common stock outstanding. Common stock represent the ownership interest in a corporation.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Article 3
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section 50
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21463-112644
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.3-04)
-URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.29)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 30
-Article 5
falseinstant2012-12-31T00:00:000001-01-01T00:00:001
15trueRowperiodPeriod*RowprimaryElement*2true
4us-gaap_IncreaseDecreaseInStockholdersEquityRollForwardus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabelxbrli:stringItemTypestringfalse0duration2013-01-01T00:00:002013-06-30T00:00:00
0us-gaap_IncreaseDecreaseInStockholdersEquityRollForwardus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 5falsefalsefalse00falsefalsefalse | 6falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
16falseRowperiodPeriod*RowprimaryElement*5false
5us-gaap_NetIncomeLossus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabelxbrli:monetaryItemTypemonetaryThe portion of profit or loss for the period, net of income taxes, which is attributable to the parent.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Paragraph 20
-Article 9
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Other Comprehensive Income
-URI http://asc.fasb.org/extlink&oid=6519514
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Net Income
-URI http://asc.fasb.org/extlink&oid=6518256
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 260
-SubTopic 10
-Section 50
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257
Reference 6: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 944
-SubTopic 225
-Section S99
-Paragraph 1
-Subparagraph (SX 210.7-04.19)
-URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913
Reference 7: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 225
-SubTopic 10
-Section S99
-Paragraph 2
-Subparagraph (SX 210.5-03.18)
-URI http://asc.fasb.org/extlink&oid=26872669&loc=d3e20235-122688
Reference 8: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 944
-SubTopic 225
-Section S99
-Paragraph 1
-Subparagraph (SX 210.7-04.22)
-URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913
Reference 9: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 220
-SubTopic 10
-Section 45
-Paragraph 6
-URI http://asc.fasb.org/extlink&oid=28358780&loc=d3e565-108580
Reference 10: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 19
-Article 5
false2duration2013-01-01T00:00:002013-06-30T00:00:00
0us-gaap_NetIncomeLossus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse-27407000-27407000falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 5truefalsefalse-27407000-27407000falsefalsefalse | 6falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryThe portion of profit or loss for the period, net of income taxes, which is attributable to the parent.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Paragraph 20
-Article 9
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Other Comprehensive Income
-URI http://asc.fasb.org/extlink&oid=6519514
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Net Income
-URI http://asc.fasb.org/extlink&oid=6518256
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 260
-SubTopic 10
-Section 50
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257
Reference 6: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 944
-SubTopic 225
-Section S99
-Paragraph 1
-Subparagraph (SX 210.7-04.19)
-URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913
Reference 7: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 225
-SubTopic 10
-Section S99
-Paragraph 2
-Subparagraph (SX 210.5-03.18)
-URI http://asc.fasb.org/extlink&oid=26872669&loc=d3e20235-122688
Reference 8: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 944
-SubTopic 225
-Section S99
-Paragraph 1
-Subparagraph (SX 210.7-04.22)
-URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913
Reference 9: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 220
-SubTopic 10
-Section 45
-Paragraph 6
-URI http://asc.fasb.org/extlink&oid=28358780&loc=d3e565-108580
Reference 10: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 19
-Article 5
false2
17falseRowperiodPeriod*RowprimaryElement*6false
5us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabelxbrli:monetaryItemTypemonetaryAmount after tax of other comprehensive income (loss) attributable to parent entity.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 810
-SubTopic 10
-Section 45
-Paragraph 20
-URI http://asc.fasb.org/extlink&oid=7656940&loc=SL4569643-111683
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 810
-SubTopic 10
-Section 45
-Paragraph 19
-URI http://asc.fasb.org/extlink&oid=7656940&loc=SL4569616-111683
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 810
-SubTopic 10
-Section 50
-Paragraph 1A
-Subparagraph (c)(3)
-URI http://asc.fasb.org/extlink&oid=18733093&loc=SL4573702-111684
false2duration2013-01-01T00:00:002013-06-30T00:00:00
0us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse50005000falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 5falsefalsefalse00falsefalsefalse | 6truefalsefalse50005000falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount after tax of other comprehensive income (loss) attributable to parent entity.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 810
-SubTopic 10
-Section 45
-Paragraph 20
-URI http://asc.fasb.org/extlink&oid=7656940&loc=SL4569643-111683
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 810
-SubTopic 10
-Section 45
-Paragraph 19
-URI http://asc.fasb.org/extlink&oid=7656940&loc=SL4569616-111683
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 810
-SubTopic 10
-Section 50
-Paragraph 1A
-Subparagraph (c)(3)
-URI http://asc.fasb.org/extlink&oid=18733093&loc=SL4573702-111684
false2
18falseRowperiodPeriod*RowprimaryElement*7false
5us-gaap_StockIssuedDuringPeriodValueStockOptionsExercisedus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabelxbrli:monetaryItemTypemonetaryValue of stock issued as a result of the exercise of stock options.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Article 3
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section 50
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21463-112644
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.3-04)
-URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.29-31)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 29, 30, 31
-Article 5
false2duration2013-01-01T00:00:002013-06-30T00:00:00
0us-gaap_StockIssuedDuringPeriodValueStockOptionsExercisedus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse4400044000falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4truefalsefalse4400044000falsefalsefalse | 5falsefalsefalse00falsefalsefalse | 6falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryValue of stock issued as a result of the exercise of stock options.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Article 3
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section 50
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21463-112644
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.3-04)
-URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.29-31)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 29, 30, 31
-Article 5
false2
19falseRowperiodPeriod*RowprimaryElement*8false
6us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercisedus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabelxbrli:sharesItemTypesharesNumber of share options (or share units) exercised during the current period.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Article 3
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section 50
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21463-112644
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.3-04)
-URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.28,29)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (c)(1)(iv)(2)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
Reference 6: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 29, 30
-Article 5
false1duration2013-01-01T00:00:002013-06-30T00:00:00
0us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercisedus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3truefalsefalse30003000falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 5falsefalsefalse00falsefalsefalse | 6falsefalsefalse00falsefalsefalse | xbrli:sharesItemTypesharesNumber of share options (or share units) exercised during the current period.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Article 3
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section 50
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21463-112644
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.3-04)
-URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.28,29)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (c)(1)(iv)(2)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
Reference 6: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 29, 30
-Article 5
false1
20falseRowperiodPeriod*RowprimaryElement*9false
5us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValueus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabelxbrli:monetaryItemTypemonetaryThis element represents the amount of recognized equity-based compensation during the period, that is, the amount recognized as expense in the income statement (or as asset if compensation is capitalized). Alternate captions include the words "stock-based compensation".Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 35
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6415241&loc=d3e4534-113899
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5047-113901
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 20
-Section 55
-Paragraph 12
-URI http://asc.fasb.org/extlink&oid=32706628&loc=d3e11149-113907
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 20
-Section 55
-Paragraph 13
-URI http://asc.fasb.org/extlink&oid=32706628&loc=d3e11178-113907
false2duration2013-01-01T00:00:002013-06-30T00:00:00
0us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValueus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse291000291000falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4truefalsefalse291000291000falsefalsefalse | 5falsefalsefalse00falsefalsefalse | 6falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryThis element represents the amount of recognized equity-based compensation during the period, that is, the amount recognized as expense in the income statement (or as asset if compensation is capitalized). Alternate captions include the words "stock-based compensation".Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 35
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6415241&loc=d3e4534-113899
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5047-113901
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 20
-Section 55
-Paragraph 12
-URI http://asc.fasb.org/extlink&oid=32706628&loc=d3e11149-113907
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 20
-Section 55
-Paragraph 13
-URI http://asc.fasb.org/extlink&oid=32706628&loc=d3e11178-113907
false2
21falseRowperiodPeriod*RowprimaryElement*13false
5us-gaap_TemporaryEquityAccretionToRedemptionValueus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabelxbrli:monetaryItemTypemonetaryValue of accretion of temporary equity to its redemption value during the period.No definition available.false2duration2013-01-01T00:00:002013-06-30T00:00:00
0us-gaap_TemporaryEquityAccretionToRedemptionValueus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse-2051000-2051000falsefalsefalse | 2truefalsefalse20510002051000falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4truefalsefalse-2051000-2051000falsefalsefalse | 5falsefalsefalse00falsefalsefalse | 6falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryValue of accretion of temporary equity to its redemption value during the period.No definition available.false2
22falseRowperiodPeriod*RowprimaryElement*14false
5ontx_AdjustmentsToAdditionalPaidInCapitalShareBasedModificationOfStockOptionAwardsontx_falsecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabelxbrli:monetaryItemTypemonetaryAmount of increase in additional paid in capital (APIC) resulting from modification of stock option awards.No definition available.false2duration2013-01-01T00:00:002013-06-30T00:00:00
0ontx_AdjustmentsToAdditionalPaidInCapitalShareBasedModificationOfStockOptionAwardsontx_falsecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse1448200014482000falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4truefalsefalse1448200014482000falsefalsefalse | 5falsefalsefalse00falsefalsefalse | 6falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of increase in additional paid in capital (APIC) resulting from modification of stock option awards.No definition available.false2
23falseRowperiodPeriod*RowprimaryElement*15false
5us-gaap_StockholdersEquityus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsetruefalseperiodEndLabelxbrli:monetaryItemTypemonetaryTotal of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which are attributable to the parent. The amount of the economic entity's stockholders' equity attributable to the parent excludes the amount of stockholders' equity which is allocable to that ownership interest in subsidiary equity which is not attributable to the parent (noncontrolling interest, minority interest). This excludes temporary equity and is sometimes called permanent equity.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section S99
-Paragraph 2
-Subparagraph (SAB TOPIC 4.E)
-URI http://asc.fasb.org/extlink&oid=27010918&loc=d3e74512-122707
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Staff Accounting Bulletin (SAB)
-Number Topic 4
-Section E
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.29-31)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 29, 30, 31
-Article 5
false2duration2013-01-01T00:00:002013-06-30T00:00:00
0us-gaap_StockholdersEquityus-gaap_truecreditinstantfalsefalsetruefalsefalsefalsetruefalseperiodEndLabel| 1truefalsefalse-172942000-172942000USD$falsetruefalse | 2truefalsefalse203366000203366000USD$falsetruefalse | 3truefalsefalse2600026000USD$falsetruefalse | 4truefalsefalse2278700022787000USD$falsetruefalse | 5truefalsefalse-195760000-195760000USD$falsetruefalse | 6truefalsefalse50005000USD$falsetruefalse | xbrli:monetaryItemTypemonetaryTotal of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which are attributable to the parent. The amount of the economic entity's stockholders' equity attributable to the parent excludes the amount of stockholders' equity which is allocable to that ownership interest in subsidiary equity which is not attributable to the parent (noncontrolling interest, minority interest). This excludes temporary equity and is sometimes called permanent equity.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section S99
-Paragraph 2
-Subparagraph (SAB TOPIC 4.E)
-URI http://asc.fasb.org/extlink&oid=27010918&loc=d3e74512-122707
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Staff Accounting Bulletin (SAB)
-Number Topic 4
-Section E
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.29-31)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 29, 30, 31
-Article 5
falseinstant2013-06-30T00:00:000001-01-01T00:00:002
24falseRowperiodPeriod*RowprimaryElement*16false
5us-gaap_CommonStockSharesOutstandingus-gaap_truenainstantfalsefalsefalsefalsefalsefalsetruefalseperiodEndLabelxbrli:sharesItemTypesharesNumber of shares of common stock outstanding. Common stock represent the ownership interest in a corporation.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Article 3
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section 50
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21463-112644
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.3-04)
-URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.29)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 30
-Article 5
false1duration2013-01-01T00:00:002013-06-30T00:00:00
0us-gaap_CommonStockSharesOutstandingus-gaap_truenainstantfalsefalsetruefalsefalsefalsetruefalseperiodEndLabel| 1truefalsefalse26094842609484falsefalsefalse | 2truefalsefalse1691219916912199falsefalsefalse | 3truefalsefalse26094842609484falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 5falsefalsefalse00falsefalsefalse | 6falsefalsefalse00falsefalsefalse | xbrli:sharesItemTypesharesNumber of shares of common stock outstanding. Common stock represent the ownership interest in a corporation.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Article 3
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section 50
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21463-112644
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.3-04)
-URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.29)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 30
-Article 5
falseinstant2013-06-30T00:00:000001-01-01T00:00:001
trueConsolidated Statements of Redeemable Convertible Preferred Stock and Stockholders' Deficit (USD $)NoRoundingNoRoundingUnKnownUnKnowntruefalsefalseSheethttp://www.onconova.com/role/StatementOfStockholdersEquity624