2.4.0.8162 - Disclosure - Stock Option Activity (Detail)truefalsefalse1falseUSDfalsefalse$eol_PE10315---13S-1-0008_STD_90_20130331_0http://www.sec.gov/CIK0001069308duration2013-01-01T00:00:002013-03-31T00:00:00sharesStandardhttp://www.xbrl.org/2003/instanceshares0iso4217_USD_per_sharesDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instanceshares0iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2falseUSDfalsefalse$eol_PE10315---13S-1-0008_STD_366_20121231_0http://www.sec.gov/CIK0001069308duration2012-01-01T00:00:002012-12-31T00:00:00sharesStandardhttp://www.xbrl.org/2003/instanceshares0iso4217_USD_per_sharesDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instanceshares0iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$3falseUSDfalsefalse$eol_PE10315---13S-1-0008_STD_365_20111231_0http://www.sec.gov/CIK0001069308duration2011-01-01T00:00:002011-12-31T00:00:00sharesStandardhttp://www.xbrl.org/2003/instanceshares0iso4217_USD_per_sharesDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instanceshares0iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$4falseUSDfalsefalse$eol_PE10315---13S-1-0008_STD_365_20101231_0http://www.sec.gov/CIK0001069308duration2010-01-01T00:00:002010-12-31T00:00:00sharesStandardhttp://www.xbrl.org/2003/instanceshares0iso4217_USD_per_sharesDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instanceshares0USDUSD$5falseUSDfalsefalse$eol_PE10315---13S-1-0008_STD_365_20091231_0http://www.sec.gov/CIK0001069308duration2009-01-01T00:00:002009-12-31T00:00:00sharesStandardhttp://www.xbrl.org/2003/instanceshares0iso4217_USD_per_sharesDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instanceshares0USDUSD$6falseUSDfalsefalse$eol_PE10315---13S-1-0008_STD_366_20081231_0http://www.sec.gov/CIK0001069308duration2008-01-01T00:00:002008-12-31T00:00:00sharesStandardhttp://www.xbrl.org/2003/instanceshares0iso4217_USD_per_sharesDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instanceshares0USDUSD$7falseUSDfalsefalse$eol_PE10315---13S-1-0008_STD_365_20071231_0http://www.sec.gov/CIK0001069308duration2007-01-01T00:00:002007-12-31T00:00:00sharesStandardhttp://www.xbrl.org/2003/instanceshares0iso4217_USD_per_sharesDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instanceshares0USDUSD$1true4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForwardus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false5us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumberus-gaap_truenainstantfalsefalsefalsefalsefalsetruefalsefalseperiodStartLabel1truefalsefalse824620824620falsefalsefalse2truefalsefalse442923442923falsefalsefalse3truefalsefalse385516385516falsefalsefalse4truefalsefalse480833480833falsefalsefalse5truefalsefalse388048388048falsefalsefalse6truefalsefalse259565259565falsefalsefalse7truefalsefalse190426190426falsefalsefalsexbrli:sharesItemTypesharesNumber of options outstanding, including both vested and non-vested options.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
Reference 2: 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_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse125000125000falsefalsefalse2truefalsefalse411938411938falsefalsefalse3truefalsefalse7615776157falsefalsefalse4truefalsefalse3813838138falsefalsefalse5truefalsefalse193583193583falsefalsefalse6truefalsefalse160100160100falsefalsefalse7truefalsefalse7347573475falsefalsefalsexbrli:sharesItemTypesharesNet number of share options (or share units) granted during the period.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)(iv)(1)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false14false5us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercisedus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00 falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4truefalsefalse3628436284falsefalsefalse5truefalsefalse1519315193falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli: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
false15false5us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriodus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-46331-46331falsefalsefalse2truefalsefalse-30241-30241falsefalsefalse3truefalsefalse-18750-18750falsefalsefalse4truefalsefalse-97171-97171falsefalsefalse5truefalsefalse-85605-85605falsefalsefalse6truefalsefalse-31617-31617falsefalsefalse7truefalsefalse-4336-4336falsefalsefalsexbrli:sharesItemTypesharesFor presentations that combine terminations, the number of shares under options that were cancelled during the reporting period as a result of occurrence of a terminating event specified in contractual agreements pertaining to the stock option plan or that expired.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)(iv)(3)-(4)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false16false5us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumberus-gaap_truenainstantfalsefalsefalsefalsefalsefalsetruefalseperiodEndLabel1truefalsefalse903289903289falsefalsefalse2truefalsefalse824620824620falsefalsefalse3truefalsefalse442923442923falsefalsefalse4truefalsefalse385516385516falsefalsefalse5truefalsefalse480833480833falsefalsefalse6truefalsefalse388048388048falsefalsefalse7truefalsefalse259565259565falsefalsefalsexbrli:sharesItemTypesharesNumber of options outstanding, including both vested and non-vested options.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
Reference 2: 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
false17false5us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumberus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse485124485124falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesThe number of shares into which fully or partially vested stock options outstanding as of the balance sheet date can be currently converted under the option plan.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)(iii)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false18true4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforwardus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse09false5us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceus-gaap_truenainstantfalsefalsefalsefalsefalsetruefalsefalseperiodStartLabel1truefalsefalse5.545.54USD$falsetruefalse2truefalsefalse7.717.71USD$falsetruefalse3truefalsefalse8.608.60USD$falsetruefalse4truefalsefalse14.8014.80USD$falsetruefalse5truefalsefalse25.8825.88USD$falsetruefalse6truefalsefalse39.1639.16USD$falsetruefalse7truefalsefalse45.9245.92USD$falsetruefalsenum:perShareItemTypedecimalWeighted average price at which grantees can acquire the shares reserved for issuance under the stock option plan.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)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false310false5opxa_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantInPeriodWeightedAverageExercisePriceopxa_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalsepositiveLabel1truefalsefalse2.342.34USD$falsetruefalse2truefalsefalse3.683.68USD$falsetruefalse3truefalsefalse6.296.29USD$falsetruefalse4truefalsefalse8.348.34USD$falsetruefalse5truefalsefalse3.833.83USD$falsetruefalse6truefalsefalse4.504.50USD$falsetruefalse7truefalsefalse21.1221.12USD$falsetruefalsenum:perShareItemTypedecimalShare Based Compensation Arrangements By Share Based Payment Award Options Grant In Period Weighted Average Exercise PriceNo definition available.false311false5opxa_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisedInPeriodWeightedAverageExercisePriceopxa_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00 falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4truefalsefalse3.563.56USD$falsetruefalse5truefalsefalse4.214.21USD$falsetruefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsenum:perShareItemTypedecimalShare Based Compensation Arrangement By Share Based Payment Award Options Exercised In Period Weighted Average Exercise PriceNo definition available.false312false5us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriodWeightedAverageExercisePriceus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse4.734.73USD$falsetruefalse2truefalsefalse11.8011.80USD$falsetruefalse3truefalsefalse20.0020.00USD$falsetruefalse4truefalsefalse36.6236.62USD$falsetruefalse5truefalsefalse42.2242.22USD$falsetruefalse6truefalsefalse24.4124.41USD$falsetruefalse7truefalsefalse30.9630.96USD$falsetruefalsenum:perShareItemTypedecimalWeighted average price of options that were either forfeited or expired.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)(iv)(3)-(4)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false313false5us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceus-gaap_truenainstantfalsefalsefalsefalsefalsefalsetruefalseperiodEndLabel1truefalsefalse5.145.14USD$falsetruefalse2truefalsefalse5.545.54USD$falsetruefalse3truefalsefalse7.717.71USD$falsetruefalse4truefalsefalse8.608.60USD$falsetruefalse5truefalsefalse14.8014.80USD$falsetruefalse6truefalsefalse25.8825.88USD$falsetruefalse7truefalsefalse39.1639.16USD$falsetruefalsenum:perShareItemTypedecimalWeighted average price at which grantees can acquire the shares reserved for issuance under the stock option plan.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)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false314false5us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePriceus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse6.636.63USD$falsetruefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsenum:perShareItemTypedecimalThe weighted-average price as of the balance sheet date at which grantees can acquire the shares reserved for issuance on vested portions of options outstanding and currently exercisable under the stock option plan.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)(iii)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false315true4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAdditionalDisclosuresAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse016false5us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2us-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse007 years 8 months 12 daysfalsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:durationItemTypenaWeighted average remaining contractual term for option awards outstanding, 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
false017false5us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1us-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse006 years 6 monthsfalsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:durationItemTypenaWeighted average remaining contractual term for vested portions of options outstanding and currently exercisable or convertible, 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
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false018true4opxa_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAggregateIntrinsicValueAbstractopxa_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse019false5us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse104769104769USD$falsetruefalse2truefalsefalse1384613846USD$falsetruefalse3truefalsefalse227567227567USD$falsetruefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount by which the current fair value of the underlying stock exceeds the exercise price of options outstanding.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false220false5us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1us-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse100730100730USD$falsetruefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of difference between fair value of the underlying shares reserved for issuance and exercise price of vested portions of options outstanding and currently exercisable.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false2falseStock Option Activity (Detail) (USD $)NoRoundingNoRoundingNoRoundingUnKnowntruefalsefalseSheethttp://www.opexatherapeutics.com/taxonomy/role/DisclosureStockOptionActivity720