2.4.0.84072 - Disclosure - Stock-Based Compensation (Details 3)truefalsefalse1falsefalsefalseD2013Q2YTDhttp://www.sec.gov/CIK0001130598duration2013-01-01T00:00:002013-06-30T00:00:00SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli01true4ontx_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingAbstractontx_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false5us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfOutstandingOptionsus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse27965192796519falsefalsefalsexbrli:sharesItemTypesharesThe number of shares reserved for issuance pertaining to the outstanding stock options as of the balance sheet date for all option plans in the customized range of exercise prices.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (c)(1)(i)-(ii)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false13false5us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageRemainingContractualTerm2us-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse007 years 3 months 7 daysfalsefalsefalsexbrli:durationItemTypenaWeighted average remaining contractual term of outstanding stock options, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (e)(1)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false04true4ontx_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeExercisableOptionsAbstractontx_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse05false5us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfExercisableOptionsus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse17906471790647falsefalsefalsexbrli:sharesItemTypesharesThe number of shares reserved for issuance pertaining to the outstanding exercisable stock options as of the balance sheet date in the customized range of exercise prices for which the market and performance vesting condition has been satisfied.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (c)(iii)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false16false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falseUSDtruefalse$D2013Q2YTD_ExercisePriceDollars1.33Memberhttp://www.sec.gov/CIK0001130598duration2013-01-01T00:00:002013-06-30T00:00:00falsefalseExercise Price $1.33us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxisxbrldihttp://xbrl.org/2006/xbrldiontx_ExercisePriceDollars1.33Memberus-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxisexplicitMemberUSDPerShareDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDUSD$nanafalse07true3us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse08false4ontx_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeontx_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse1.331.33USD$falsetruefalsenum:perShareItemTypedecimalRepresents the exercise price for purpose of disclosing shares potentially issuable under outstanding stock option awards on all stock option plans and other required information pertaining to awards.No definition available.false39true4ontx_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingAbstractontx_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse010false5us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfOutstandingOptionsus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse161614161614falsefalsefalsexbrli:sharesItemTypesharesThe number of shares reserved for issuance pertaining to the outstanding stock options as of the balance sheet date for all option plans in the customized range of exercise prices.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (c)(1)(i)-(ii)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false111false5us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageRemainingContractualTerm2us-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse001 year 14 daysfalsefalsefalsexbrli:durationItemTypenaWeighted average remaining contractual term of outstanding stock options, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (e)(1)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false012true4ontx_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeExercisableOptionsAbstractontx_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse013false5us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfExercisableOptionsus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse161614161614falsefalsefalsexbrli:sharesItemTypesharesThe number of shares reserved for issuance pertaining to the outstanding exercisable stock options as of the balance sheet date in the customized range of exercise prices for which the market and performance vesting condition has been satisfied.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (c)(iii)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false114false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse3falseUSDtruefalse$D2013Q2YTD_ExercisePriceDollars2.67Memberhttp://www.sec.gov/CIK0001130598duration2013-01-01T00:00:002013-06-30T00:00:00falsefalseExercise Price $2.67us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxisxbrldihttp://xbrl.org/2006/xbrldiontx_ExercisePriceDollars2.67Memberus-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxisexplicitMemberUSDPerShareDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDUSD$nanafalse015true3us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse016false4ontx_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeontx_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse2.672.67USD$falsetruefalsenum:perShareItemTypedecimalRepresents the exercise price for purpose of disclosing shares potentially issuable under outstanding stock option awards on all stock option plans and other required information pertaining to awards.No definition available.false317true4ontx_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingAbstractontx_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse018false5us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfOutstandingOptionsus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse6520765207falsefalsefalsexbrli:sharesItemTypesharesThe number of shares reserved for issuance pertaining to the outstanding stock options as of the balance sheet date for all option plans in the customized range of exercise prices.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (c)(1)(i)-(ii)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false119false5us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageRemainingContractualTerm2us-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse002 years 6 months 25 daysfalsefalsefalsexbrli:durationItemTypenaWeighted average remaining contractual term of outstanding stock options, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (e)(1)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false020true4ontx_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeExercisableOptionsAbstractontx_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse021false5us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfExercisableOptionsus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse6520765207falsefalsefalsexbrli:sharesItemTypesharesThe number of shares reserved for issuance pertaining to the outstanding exercisable stock options as of the balance sheet date in the customized range of exercise prices for which the market and performance vesting condition has been satisfied.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (c)(iii)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false122false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse4falseUSDtruefalse$D2013Q2YTD_ExercisePriceDollars5.76Memberhttp://www.sec.gov/CIK0001130598duration2013-01-01T00:00:002013-06-30T00:00:00falsefalseExercise Price $5.76us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxisxbrldihttp://xbrl.org/2006/xbrldiontx_ExercisePriceDollars5.76Memberus-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxisexplicitMemberUSDPerShareDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDUSD$nanafalse023true3us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse024false4ontx_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeontx_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse5.765.76USD$falsetruefalsenum:perShareItemTypedecimalRepresents the exercise price for purpose of disclosing shares potentially issuable under outstanding stock option awards on all stock option plans and other required information pertaining to awards.No definition available.false325true4ontx_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingAbstractontx_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse026false5us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfOutstandingOptionsus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse396641396641falsefalsefalsexbrli:sharesItemTypesharesThe number of shares reserved for issuance pertaining to the outstanding stock options as of the balance sheet date for all option plans in the customized range of exercise prices.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (c)(1)(i)-(ii)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false127false5us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageRemainingContractualTerm2us-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse006 years 8 months 8 daysfalsefalsefalsexbrli:durationItemTypenaWeighted average remaining contractual term of outstanding stock options, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (e)(1)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false028true4ontx_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeExercisableOptionsAbstractontx_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse029false5us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfExercisableOptionsus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse367664367664falsefalsefalsexbrli:sharesItemTypesharesThe number of shares reserved for issuance pertaining to the outstanding exercisable stock options as of the balance sheet date in the customized range of exercise prices for which the market and performance vesting condition has been satisfied.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (c)(iii)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false130false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse5falseUSDtruefalse$D2013Q2YTD_ExercisePriceDollars6.00Memberhttp://www.sec.gov/CIK0001130598duration2013-01-01T00:00:002013-06-30T00:00:00falsefalseExercise Price $6.00us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxisxbrldihttp://xbrl.org/2006/xbrldiontx_ExercisePriceDollars6.00Memberus-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxisexplicitMemberUSDPerShareDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDUSD$nanafalse031true3us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse032false4ontx_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeontx_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse6.006.00USD$falsetruefalsenum:perShareItemTypedecimalRepresents the exercise price for purpose of disclosing shares potentially issuable under outstanding stock option awards on all stock option plans and other required information pertaining to awards.No definition available.false333true4ontx_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingAbstractontx_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse034false5us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfOutstandingOptionsus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse420267420267falsefalsefalsexbrli:sharesItemTypesharesThe number of shares reserved for issuance pertaining to the outstanding stock options as of the balance sheet date for all option plans in the customized range of exercise prices.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (c)(1)(i)-(ii)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false135false5us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageRemainingContractualTerm2us-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse004 years 2 months 5 daysfalsefalsefalsexbrli:durationItemTypenaWeighted average remaining contractual term of outstanding stock options, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (e)(1)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false036true4ontx_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeExercisableOptionsAbstractontx_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse037false5us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfExercisableOptionsus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse420267420267falsefalsefalsexbrli:sharesItemTypesharesThe number of shares reserved for issuance pertaining to the outstanding exercisable stock options as of the balance sheet date in the customized range of exercise prices for which the market and performance vesting condition has been satisfied.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (c)(iii)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false138false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse6falseUSDtruefalse$D2013Q2YTD_ExercisePriceDollars6.13Memberhttp://www.sec.gov/CIK0001130598duration2013-01-01T00:00:002013-06-30T00:00:00falsefalseExercise Price $6.13us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxisxbrldihttp://xbrl.org/2006/xbrldiontx_ExercisePriceDollars6.13Memberus-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxisexplicitMemberUSDPerShareDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDUSD$nanafalse039true3us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse040false4ontx_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeontx_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse6.136.13USD$falsetruefalsenum:perShareItemTypedecimalRepresents the exercise price for purpose of disclosing shares potentially issuable under outstanding stock option awards on all stock option plans and other required information pertaining to awards.No definition available.false341true4ontx_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingAbstractontx_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse042false5us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfOutstandingOptionsus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse607653607653falsefalsefalsexbrli:sharesItemTypesharesThe number of shares reserved for issuance pertaining to the outstanding stock options as of the balance sheet date for all option plans in the customized range of exercise prices.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (c)(1)(i)-(ii)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false143false5us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageRemainingContractualTerm2us-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse006 years 8 months 19 daysfalsefalsefalsexbrli:durationItemTypenaWeighted average remaining contractual term of outstanding stock options, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (e)(1)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false044true4ontx_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeExercisableOptionsAbstractontx_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse045false5us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfExercisableOptionsus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse498326498326falsefalsefalsexbrli:sharesItemTypesharesThe number of shares reserved for issuance pertaining to the outstanding exercisable stock options as of the balance sheet date in the customized range of exercise prices for which the market and performance vesting condition has been satisfied.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (c)(iii)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false146false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse7falseUSDtruefalse$D2013Q2YTD_ExercisePriceDollars7.53Memberhttp://www.sec.gov/CIK0001130598duration2013-01-01T00:00:002013-06-30T00:00:00falsefalseExercise Price $7.53us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxisxbrldihttp://xbrl.org/2006/xbrldiontx_ExercisePriceDollars7.53Memberus-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxisexplicitMemberUSDPerShareDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDUSD$nanafalse047true3us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse048false4ontx_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeontx_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse7.537.53USD$falsetruefalsenum:perShareItemTypedecimalRepresents the exercise price for purpose of disclosing shares potentially issuable under outstanding stock option awards on all stock option plans and other required information pertaining to awards.No definition available.false349true4ontx_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingAbstractontx_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse050false5us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfOutstandingOptionsus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse3523535235falsefalsefalsexbrli:sharesItemTypesharesThe number of shares reserved for issuance pertaining to the outstanding stock options as of the balance sheet date for all option plans in the customized range of exercise prices.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (c)(1)(i)-(ii)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false151false5us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageRemainingContractualTerm2us-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse008 years 10 months 28 daysfalsefalsefalsexbrli:durationItemTypenaWeighted average remaining contractual term of outstanding stock options, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (e)(1)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false052true4ontx_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeExercisableOptionsAbstractontx_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse053false5us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfExercisableOptionsus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse2858628586falsefalsefalsexbrli:sharesItemTypesharesThe number of shares reserved for issuance pertaining to the outstanding exercisable stock options as of the balance sheet date in the customized range of exercise prices for which the market and performance vesting condition has been satisfied.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (c)(iii)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false154false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse8falseUSDtruefalse$D2013Q2YTD_ExercisePriceDollars13.28Memberhttp://www.sec.gov/CIK0001130598duration2013-01-01T00:00:002013-06-30T00:00:00falsefalseExercise Price $13.28us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxisxbrldihttp://xbrl.org/2006/xbrldiontx_ExercisePriceDollars13.28Memberus-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxisexplicitMemberUSDPerShareDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDUSD$nanafalse055true3us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse056false4ontx_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeontx_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse13.2813.28USD$falsetruefalsenum:perShareItemTypedecimalRepresents the exercise price for purpose of disclosing shares potentially issuable under outstanding stock option awards on all stock option plans and other required information pertaining to awards.No definition available.false357true4ontx_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingAbstractontx_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse058false5us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfOutstandingOptionsus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse11052521105252falsefalsefalsexbrli:sharesItemTypesharesThe number of shares reserved for issuance pertaining to the outstanding stock options as of the balance sheet date for all option plans in the customized range of exercise prices.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (c)(1)(i)-(ii)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false159false5us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageRemainingContractualTerm2us-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse009 years 7 months 2 daysfalsefalsefalsexbrli:durationItemTypenaWeighted average remaining contractual term of outstanding stock options, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (e)(1)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false060true4ontx_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeExercisableOptionsAbstractontx_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse061false5us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfExercisableOptionsus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse244633244633falsefalsefalsexbrli:sharesItemTypesharesThe number of shares reserved for issuance pertaining to the outstanding exercisable stock options as of the balance sheet date in the customized range of exercise prices for which the market and performance vesting condition has been satisfied.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (c)(iii)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false162false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse9falseUSDtruefalse$D2013Q2YTD_ExercisePriceDollars14.74Memberhttp://www.sec.gov/CIK0001130598duration2013-01-01T00:00:002013-06-30T00:00:00falsefalseExercise Price $14.74us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxisxbrldihttp://xbrl.org/2006/xbrldiontx_ExercisePriceDollars14.74Memberus-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxisexplicitMemberUSDPerShareDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDUSD$nanafalse063true3us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse064false4ontx_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeontx_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse14.7414.74USD$falsetruefalsenum:perShareItemTypedecimalRepresents the exercise price for purpose of disclosing shares potentially issuable under outstanding stock option awards on all stock option plans and other required information pertaining to awards.No definition available.false365true4ontx_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingAbstractontx_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse066false5us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfOutstandingOptionsus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse43504350falsefalsefalsexbrli:sharesItemTypesharesThe number of shares reserved for issuance pertaining to the outstanding stock options as of the balance sheet date for all option plans in the customized range of exercise prices.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (c)(1)(i)-(ii)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false167false5us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageRemainingContractualTerm2us-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse009 years 10 months 24 daysfalsefalsefalsexbrli:durationItemTypenaWeighted average remaining contractual term of outstanding stock options, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (e)(1)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false068true4ontx_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeExercisableOptionsAbstractontx_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse069false5us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfExercisableOptionsus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse43504350falsefalsefalsexbrli:sharesItemTypesharesThe number of shares reserved for issuance pertaining to the outstanding exercisable stock options as of the balance sheet date in the customized range of exercise prices for which the market and performance vesting condition has been satisfied.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (c)(iii)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false1falseStock-Based Compensation (Details 3) (USD $)UnKnownNoRoundingNoRoundingUnKnowntruefalsefalseSheethttp://www.onconova.com/role/DisclosureStockBasedCompensationDetails3169