2.4.0.8138 - Disclosure - Subsequent Event - Additional Information (Detail)truefalsefalse1false
USDfalsefalse$eol_PE10315---1310-Q0011_STD_31_20130211_0http://www.sec.gov/CIK0001069308duration2013-01-12T00:00:002013-02-11T00:00:00iso4217_USD_per_sharesDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instanceshares0USDUSD$2false
USDtruefalse$eol_PE10315---1310-Q0011_STD_31_20130813_0_710720x714667_821864x793390http://www.sec.gov/CIK0001069308duration2013-07-14T00:00:002013-08-13T00:00:00falsefalseSubsequent Eventus-gaap_SubsequentEventTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_SubsequentEventMemberus-gaap_SubsequentEventTypeAxisexplicitMemberfalsefalseCommon Stock Offeringopxa_AgreementsAxisxbrldihttp://xbrl.org/2006/xbrldiopxa_CommonStockOfferingMemberopxa_AgreementsAxisexplicitMembersharesStandardhttp://www.xbrl.org/2003/instanceshares0iso4217_USD_per_sharesDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instanceshares0iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$3false
truefalseeol_PE10315---1310-Q0011_STD_30_20130701_0_708873x858373_710720x714667http://www.sec.gov/CIK0001069308duration2013-06-02T00:00:002013-07-01T00:00:00falsefalsePayment Of Accrued Interest To The Holders Of July 2012 Notesus-gaap_StatementScenarioAxisxbrldihttp://xbrl.org/2006/xbrldiopxa_JulytwothousandtwelvenotesMemberus-gaap_StatementScenarioAxisexplicitMemberfalsefalseSubsequent Eventus-gaap_SubsequentEventTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_SubsequentEventMemberus-gaap_SubsequentEventTypeAxisexplicitMembersharesStandardhttp://www.xbrl.org/2003/instanceshares01true
3opxa_SubsequentEventsLineItemsopxa_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
2false
4us-gaap_StockIssuedDuringPeriodSharesNewIssuesus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalsepositiveLabel| 1falsefalsefalse00falsefalsefalse | 2truefalsefalse1200000012000000falsefalsefalse | 3truefalsefalse123231123231falsefalsefalse | xbrli: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
false1
3false
4us-gaap_EquityIssuancePerShareAmountus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel| 1truefalsefalse3.003.00USD$falsetruefalse | 2truefalsefalse1.501.50USD$falsetruefalse | 3falsefalsefalse00falsefalsefalse | num:perShareItemTypedecimalAmount per share or per unit assigned to the consideration received of equity securities issued for development stage entities.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 915
-SubTopic 215
-Section 45
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=6472370&loc=d3e38297-110927
false3
4false
4opxa_GrossProceedsFromIssuanceOfCommonStockopxa_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2truefalsefalse1800000018000000USD$falsetruefalse | 3falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryGross Proceeds From Issuance Of Common StockNo definition available.false2
5false
4us-gaap_ProceedsFromIssuanceOfCommonStockus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2truefalsefalse1620000016200000USD$falsetruefalse | 3falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryThe cash inflow from the additional capital contribution to the entity.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Financing Activities
-URI http://asc.fasb.org/extlink&oid=6513228
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 14
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3255-108585
false2
6false
4opxa_AdditionalPurchaseOptionPeriodopxa_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse0030 daysfalsefalsefalse | 3falsefalsefalse00falsefalsefalse | xbrli:durationItemTypenaOption for the underwriters to purchase additional shares related to the financing, if there is an over-allotment of shares.No definition available.false0
7false
4opxa_MaximumNumberOfStockGrantedDuringThePeriodToCoverOverAllotmentopxa_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2truefalsefalse18000001800000falsefalsefalse | 3falsefalsefalse00falsefalsefalse | xbrli:sharesItemTypesharesMaximum number of stock granted during the period to cover over allotment.No definition available.false1
falseSubsequent Event - Additional Information (Detail) (USD $)NoRoundingNoRoundingNoRoundingUnKnowntruefalsefalseSheethttp://www.opexatherapeutics.com/taxonomy/role/DisclosureSubsequentEventAdditionalInformation37