2.4.0.84050 - Disclosure - Balance Sheet Detail (Details)truefalsefalse1falseUSDfalsefalse$I2013Q2http://www.sec.gov/CIK0001130598instant2013-06-30T00:00:000001-01-01T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2falseUSDfalsefalse$I2012http://www.sec.gov/CIK0001130598instant2012-12-31T00:00:000001-01-01T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1true2us-gaap_PrepaidExpenseAndOtherAssetsCurrentAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false3ontx_PrepaidResearchAndDevelopmentCurrentontx_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse23990002399000USD$falsetruefalse2truefalsefalse14290001429000USD$falsetruefalsexbrli:monetaryItemTypemonetaryAmount of asset related to consideration paid in advance for research and development that provides economic benefits within a future period of one year or the normal operating cycle, if longer.No definition available.false23false3us-gaap_DeferredOfferingCostsus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse22850002285000falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetarySpecific incremental costs directly attributable to a proposed or actual offering of securities which are deferred at the end of the reporting period.Reference 1: 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.8)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 340
-SubTopic 10
-Section S99
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=27011391&loc=d3e105025-122735
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Staff Accounting Bulletin (SAB)
-Number Topic 5
-Section A
false24false3us-gaap_OtherAssetsCurrentus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse11830001183000falsefalsefalse2truefalsefalse296000296000falsefalsefalsexbrli:monetaryItemTypemonetaryAggregate carrying amount, as of the balance sheet date, of current assets not separately disclosed in the balance sheet. Current assets are expected to be realized or consumed within one year (or the normal operating cycle, if longer).Reference 1: 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.8)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 8
-Article 5
false25false3us-gaap_PrepaidExpenseAndOtherAssetsCurrentus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse58670005867000falsefalsefalse2truefalsefalse17250001725000falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of asset related to consideration paid in advance for costs that provide economic benefits in future periods, and amount of other assets that are expected to be realized or consumed within one year or the normal operating cycle, if longer.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 8
-Article 5
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=28358313&loc=d3e6676-107765
true26true2us-gaap_PropertyPlantAndEquipmentNetByTypeAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse07false3us-gaap_PropertyPlantAndEquipmentGrossus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse22840002284000falsefalsefalse2truefalsefalse18110001811000falsefalsefalsexbrli:monetaryItemTypemonetaryAmount before accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business and not intended for resale. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, and furniture and fixtures.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 360
-SubTopic 10
-Section 50
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229
Reference 2: 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.13)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
false28false3us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipmentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-1555000-1555000falsefalsefalse2truefalsefalse-1348000-1348000falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of accumulated depreciation, depletion and amortization for physical assets used in the normal conduct of business to produce goods and services.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 360
-SubTopic 10
-Section 50
-Paragraph 1
-Subparagraph (c)
-URI http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229
Reference 2: 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.14)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 14
-Article 5
false29false3us-gaap_PropertyPlantAndEquipmentNetus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse729000729000falsefalsefalse2truefalsefalse463000463000falsefalsefalsexbrli:monetaryItemTypemonetaryAmount after accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business to produce goods and services and not intended for resale. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, and furniture and fixtures.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 360
-SubTopic 10
-Section 50
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229
Reference 2: 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.13)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 13
-Subparagraph a
-Article 5
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 8
-Article 7
true210true2ontx_AccruedExpensesAndOtherCurrentLiabilitiesAbstractontx_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse011false3ontx_AccruedResearchAndDevelopmentCurrentontx_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse39720003972000falsefalsefalse2truefalsefalse35210003521000falsefalsefalsexbrli:monetaryItemTypemonetaryCarrying value as of the balance sheet date of obligations incurred through that date and payable for research and development. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).No definition available.false212false3us-gaap_AccruedPayrollTaxesCurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse818000818000falsefalsefalse2truefalsefalse247000247000falsefalsefalsexbrli:monetaryItemTypemonetaryCarrying value as of the balance sheet date of obligations incurred and payable for statutory payroll taxes incurred through that date and withheld from employees pertaining to services received from them, including entity's matching share of the employees FICA taxes and contributions to the state and federal unemployment insurance programs. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 20
-Article 5
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Current Liabilities
-URI http://asc.fasb.org/extlink&oid=6509677
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section 45
-Paragraph 8
-URI http://asc.fasb.org/extlink&oid=28358313&loc=d3e6935-107765
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.20)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
false213false3us-gaap_OtherLiabilitiesCurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse548000548000falsefalsefalse2truefalsefalse157000157000falsefalsefalsexbrli:monetaryItemTypemonetaryAggregate carrying amount of current liabilities (due within one year or within the normal operating cycle if longer) not separately disclosed in the balance sheet. Includes costs that are statutory in nature, are incurred on contractual obligations, or accumulate over time and for which invoices have not yet been received or will not be rendered and of liabilities not separately disclosed.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 20
-Article 5
Reference 2: 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.20)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section 45
-Paragraph 6
-URI http://asc.fasb.org/extlink&oid=28358313&loc=d3e6911-107765
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section 45
-Paragraph 5
-URI http://asc.fasb.org/extlink&oid=28358313&loc=d3e6904-107765
false214false3ontx_AccruedExpensesAndOtherCurrentLiabilitiesCurrentontx_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse53380005338000USD$falsetruefalse2truefalsefalse39250003925000USD$falsetruefalsexbrli:monetaryItemTypemonetaryTotal of the carrying values, as of the balance sheet date, of obligations incurred through that date and payable for obligations related to accrued expenses and other costs not separately disclosed in the balance sheet. It is used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).No definition available.true2falseBalance Sheet Detail (Details) (USD $)NoRoundingUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.onconova.com/role/DisclosureBalanceSheetDetailDetails214