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_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false 4us-gaap_StockIssuedDuringPeriodSharesNewIssuesus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalsepositiveLabel1falsefalsefalse00falsefalsefalse2truefalsefalse1200000012000000falsefalsefalse3truefalsefalse123231123231falsefalsefalsexbrli: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 false13false 4us-gaap_EquityIssuancePerShareAmountus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse3.003.00USD$falsetruefalse2truefalsefalse1.501.50USD$falsetruefalse3falsefalsefalse00falsefalsefalsenum: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 false34false 4opxa_GrossProceedsFromIssuanceOfCommonStockopxa_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2truefalsefalse1800000018000000USD$falsetruefalse3falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryGross Proceeds From Issuance Of Common StockNo definition available.false25false 4us-gaap_ProceedsFromIssuanceOfCommonStockus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2truefalsefalse1620000016200000USD$falsetruefalse3falsefalsefalse00falsefalsefalsexbrli: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 false26false 4opxa_AdditionalPurchaseOptionPeriodopxa_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse0030 daysfalsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:durationItemTypenaOption for the underwriters to purchase additional shares related to the financing, if there is an over-allotment of shares.No definition available.false07false 4opxa_MaximumNumberOfStockGrantedDuringThePeriodToCoverOverAllotmentopxa_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2truefalsefalse18000001800000falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesMaximum number of stock granted during the period to cover over allotment.No definition available.false1falseSubsequent Event - Additional Information (Detail) (USD $)NoRoundingNoRoundingNoRoundingUnKnowntruefalsefalseSheethttp://www.opexatherapeutics.com/taxonomy/role/DisclosureSubsequentEventAdditionalInformation37