2.4.0.8154 - Disclosure - Summary of Options Outstanding and Exercisable (Detail)truefalsefalse1falsefalsefalseeol_PE10315---13S-1-0008_STD_0_20130331_0http://www.sec.gov/CIK0001069308instant2013-03-31T00:00:000001-01-01T00:00:00sharesStandardhttp://www.xbrl.org/2003/instanceshares02falseUSDtruefalse$eol_PE10315---13S-1-0008_STD_0_20121231_0_709283x791225http://www.sec.gov/CIK0001069308instant2012-12-31T00:00:000001-01-01T00:00:00falsefalse$0.88 to $ 4.99us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxisxbrldihttp://xbrl.org/2006/xbrldiopxa_RangeOneMemberus-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxisexplicitMembersharesStandardhttp://www.xbrl.org/2003/instanceshares0iso4217_USD_per_sharesDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instanceshares0USDUSD$3falseUSDtruefalse$eol_PE10315---13S-1-0008_STD_0_20121231_0_709283x771157http://www.sec.gov/CIK0001069308instant2012-12-31T00:00:000001-01-01T00:00:00falsefalse$5.00 to $9.99us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxisxbrldihttp://xbrl.org/2006/xbrldiopxa_RangeTwoMemberus-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxisexplicitMembersharesStandardhttp://www.xbrl.org/2003/instanceshares0iso4217_USD_per_sharesDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instanceshares0USDUSD$4falseUSDtruefalse$eol_PE10315---13S-1-0008_STD_0_20121231_0_709283x823907http://www.sec.gov/CIK0001069308instant2012-12-31T00:00:000001-01-01T00:00:00falsefalse$10.00 to $39.20us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxisxbrldihttp://xbrl.org/2006/xbrldiopxa_RangeThreeMemberus-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxisexplicitMembersharesStandardhttp://www.xbrl.org/2003/instanceshares0iso4217_USD_per_sharesDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instanceshares0USDUSD$5falseUSDtruefalse$eol_PE10315---13S-1-0008_STD_0_20121231_0_709283x732424http://www.sec.gov/CIK0001069308instant2012-12-31T00:00:000001-01-01T00:00:00falsefalse$0.88 to $39.20us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxisxbrldihttp://xbrl.org/2006/xbrldiopxa_RangeFourMemberus-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxisexplicitMembersharesStandardhttp://www.xbrl.org/2003/instanceshares0iso4217_USD_per_sharesDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instanceshares0USDUSD$1true3us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false4opxa_ShareBasedCompensationOptionsOutstandingExercisePriceRangeLowerRangeLimitopxa_falsenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2truefalsefalse0.880.88USD$falsetruefalse3truefalsefalse5.005.00USD$falsetruefalse4truefalsefalse10.0010.00USD$falsetruefalse5truefalsefalse0.880.88USD$falsetruefalsenum:perShareItemTypedecimalShare-based Compensation, Options Outstanding, Exercise Price Range, Lower Range LimitNo definition available.false33false4opxa_ShareBasedCompensationOptionsOutstandingExercisePriceRangeUpperRangeLimitopxa_falsenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2truefalsefalse4.994.99USD$falsetruefalse3truefalsefalse9.999.99USD$falsetruefalse4truefalsefalse39.2039.20USD$falsetruefalse5truefalsefalse39.2039.20USD$falsetruefalsenum:perShareItemTypedecimalShare-based Compensation, Options Outstanding, Exercise Price Range, Upper Range LimitNo definition available.false34false4opxa_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlanExercisePriceRangeOutstandingOptionsWeightedAverageRemainingContractualTermopxa_falsenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse005 years 10 months 2 daysfalsefalsefalse3falsefalsefalse001 year 6 months 29 daysfalsefalsefalse4falsefalsefalse002 months 16 daysfalsefalsefalse5falsefalsefalse007 years 7 months 17 daysfalsefalsefalsexbrli:durationItemTypenaShare Based Compensation Shares Authorized Under Stock Option Plan Exercise Price Range Outstanding Options Weighted Average Remaining Contractual TermNo definition available.false05false4us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfOutstandingOptionsus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2truefalsefalse599706599706falsefalsefalse3truefalsefalse178054178054falsefalsefalse4truefalsefalse4686046860falsefalsefalse5truefalsefalse824620824620falsefalsefalsexbrli: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
false16false4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumberus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse485124485124falsefalsefalse2truefalsefalse258337258337falsefalsefalse3truefalsefalse157221157221falsefalsefalse4truefalsefalse4686046860falsefalsefalse5truefalsefalse462418462418falsefalsefalsexbrli: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
false1falseSummary of Options Outstanding and Exercisable (Detail) (USD $)UnKnownNoRoundingNoRoundingUnKnowntruefalsefalseSheethttp://www.opexatherapeutics.com/taxonomy/role/DisclosureSummaryOfOptionsOutstandingAndExercisable56