2.4.0.8126 - Disclosure - Other Current Assets - Additional Information (Detail)truefalsefalse1falseUSDfalsefalse$eol_PE10315---1310-Q0011_STD_0_20130630_0http://www.sec.gov/CIK0001069308instant2013-06-30T00:00:000001-01-01T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2falseUSDfalsefalse$eol_PE10315---1310-Q0011_STD_0_20121231_0http://www.sec.gov/CIK0001069308instant2012-12-31T00:00:000001-01-01T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$3falseUSDtruefalse$eol_PE10315---1310-Q0011_STD_0_20130630_0_715990x715868http://www.sec.gov/CIK0001069308instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseOther Current Assetsus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_OtherCurrentAssetsMemberus-gaap_BalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$4falseUSDtruefalse$eol_PE10315---1310-Q0011_STD_0_20130630_0_711816x765296http://www.sec.gov/CIK0001069308instant2013-06-30T00:00:000001-01-01T00:00:00falsefalse$1.5 Million Purchase Agreement with Lincoln Parkus-gaap_OtherCommitmentsAxisxbrldihttp://xbrl.org/2006/xbrldiopxa_PurchaseCommitmentOneMemberus-gaap_OtherCommitmentsAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$5falseUSDtruefalse$eol_PE10315---1310-Q0011_STD_0_20130131_0_711816x765296http://www.sec.gov/CIK0001069308instant2013-01-31T00:00:000001-01-01T00:00:00falsefalse$1.5 Million Purchase Agreement with Lincoln Parkus-gaap_OtherCommitmentsAxisxbrldihttp://xbrl.org/2006/xbrldiopxa_PurchaseCommitmentOneMemberus-gaap_OtherCommitmentsAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$6falseUSDtruefalse$eol_PE10315---1310-Q0011_STD_0_20130630_0_711816x834939http://www.sec.gov/CIK0001069308instant2013-06-30T00:00:000001-01-01T00:00:00falsefalse$15 Million Purchase Agreement with Lincoln Parkus-gaap_OtherCommitmentsAxisxbrldihttp://xbrl.org/2006/xbrldiopxa_PurchaseCommitmentTwoMemberus-gaap_OtherCommitmentsAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$7falseUSDtruefalse$eol_PE10315---1310-Q0011_STD_0_20130630_0_708873x740806_821864x735631http://www.sec.gov/CIK0001069308instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseATM Agreementopxa_AgreementsAxisxbrldihttp://xbrl.org/2006/xbrldiopxa_AtMarketAtmProgramsMemberopxa_AgreementsAxisexplicitMemberfalsefalseThird Partyus-gaap_StatementScenarioAxisxbrldihttp://xbrl.org/2006/xbrldiopxa_ThirdPartyMemberus-gaap_StatementScenarioAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$8falseUSDtruefalse$eol_PE10315---1310-Q0011_STD_0_20130630_0_715990x715868_821864x817686http://www.sec.gov/CIK0001069308instant2013-06-30T00:00:000001-01-01T00:00:00falsefalsePurchase Agreementopxa_AgreementsAxisxbrldihttp://xbrl.org/2006/xbrldiopxa_PurchaseAgreementMemberopxa_AgreementsAxisexplicitMemberfalsefalseOther Current Assetsus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_OtherCurrentAssetsMemberus-gaap_BalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$9falsetruefalseeol_PE10315---1310-Q0011_STD_31_20130813_0_710720x714667_821864x793390http://www.sec.gov/CIK0001069308duration2013-07-14T00:00:002013-08-13T00:00:00falsefalseCommon Stock Offeringopxa_AgreementsAxisxbrldihttp://xbrl.org/2006/xbrldiopxa_CommonStockOfferingMemberopxa_AgreementsAxisexplicitMemberfalsefalseSubsequent Eventus-gaap_SubsequentEventTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_SubsequentEventMemberus-gaap_SubsequentEventTypeAxisexplicitMembersharesStandardhttp://www.xbrl.org/2003/instanceshares010falseUSDtruefalse$eol_PE10315---1310-Q0011_STD_0_20130630_0_715990x715868_821864x793390http://www.sec.gov/CIK0001069308instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseCommon Stock Offeringopxa_AgreementsAxisxbrldihttp://xbrl.org/2006/xbrldiopxa_CommonStockOfferingMemberopxa_AgreementsAxisexplicitMemberfalsefalseOther Current Assetsus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_OtherCurrentAssetsMemberus-gaap_BalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1true3opxa_DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureLineItemsopxa_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalse8falsefalsefalse00falsefalsefalse9falsefalsefalse00falsefalsefalse10falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false4us-gaap_DeferredFinanceCostsCurrentNetus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse440305440305USD$falsetruefalse2truefalsefalse341166341166USD$falsetruefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7truefalsefalse8844688446USD$falsetruefalse8truefalsefalse238154238154USD$falsetruefalse9falsefalsefalse00falsefalsefalse10truefalsefalse113705113705USD$falsetruefalsexbrli:monetaryItemTypemonetaryNet amount of current deferred finance costs capitalized at the end of the reporting period.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 835
-SubTopic 30
-Section 45
-Paragraph 3
-URI http://asc.fasb.org/extlink&oid=6451184&loc=d3e28555-108399
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.8)
-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 8
-Article 5
false23false4opxa_EquitySharesPurchaseAgreementsAggregateSharesCompanyHasRightToSellopxa_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse1650000016500000falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4truefalsefalse15000001500000falsefalsefalse5truefalsefalse15000001500000falsefalsefalse6truefalsefalse1500000015000000falsefalsefalse7falsefalsefalse00falsefalsefalse8falsefalsefalse00falsefalsefalse9falsefalsefalse00falsefalsefalse10falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryEquity Shares Purchase Agreements Aggregate Shares Company has Right to SellNo definition available.false24false4us-gaap_StockIssuedDuringPeriodSharesNewIssuesus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalsepositiveLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalse8falsefalsefalse00falsefalsefalse9truefalsefalse1200000012000000falsefalsefalse10falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesNumber of new stock issued during the 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 SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 29, 30
-Article 5
false15false4us-gaap_OtherPrepaidExpenseCurrentus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse162028162028falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalse8falsefalsefalse00falsefalsefalse9falsefalsefalse00falsefalsefalse10falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of asset related to consideration paid in advance for other costs that provide economic benefits within a future period of 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 45
-Paragraph 1
-Subparagraph (g)
-URI http://asc.fasb.org/extlink&oid=28358313&loc=d3e6676-107765
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section 45
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=28358313&loc=d3e6787-107765
false26false4us-gaap_DeferredSetUpCostsCurrentus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse4407044070USD$falsetruefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalse8falsefalsefalse00falsefalsefalse9falsefalsefalse00falsefalsefalse10falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryDeferred incremental direct costs incurred typically at a contract's inception so that the company may be in a position to fulfill all contractual obligations of an arrangement. The costs are directly related to specified activities under the arrangement and are deferred in order to match revenue that will be recognized within one year of the balance sheet date (or one 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 Staff Accounting Bulletin (SAB)
-Number Topic 13
-Section A
-Paragraph f
-Subparagraph Question 3, 4
-Subsection 3
false2falseOther Current Assets - Additional Information (Detail) (USD $)NoRoundingNoRoundingUnKnownUnKnowntruefalsefalseSheethttp://www.opexatherapeutics.com/taxonomy/role/DisclosureOtherCurrentAssetsAdditionalInformation106