2.4.0.8128 - Disclosure - Deferred Financing Costs - Additional Information (Detail)truefalsefalse1false
USDfalsefalse$eol_PE10315---1310-Q0011_STD_181_20130630_0http://www.sec.gov/CIK0001069308duration2013-01-01T00:00:002013-06-30T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2false
USDfalsefalse$eol_PE10315---1310-Q0011_STD_3812_20130630_0http://www.sec.gov/CIK0001069308duration2003-01-23T00:00:002013-06-30T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$3false
USDfalsefalse$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$1true
3opxa_DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureLineItemsopxa_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
2false
4us-gaap_DeferredFinanceCostsNoncurrentNetus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse112515112515USD$falsetruefalse | 2truefalsefalse112515112515USD$falsetruefalse | 3truefalsefalse211479211479USD$falsetruefalse | xbrli:monetaryItemTypemonetaryNet amount of long-term 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.17)
-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 17
-Article 5
false2
3false
4us-gaap_AmortizationOfFinancingCostsus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel| 1truefalsefalse9896498964USD$falsetruefalse | 2truefalsefalse681981681981USD$falsetruefalse | 3falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of noncash expense included in interest expense to issue debt and obtain financing associated with the related debt instruments. Alternate captions include noncash interest expense.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 225
-SubTopic 10
-Section S99
-Paragraph 2
-Subparagraph (SX 210.5-03.8)
-URI http://asc.fasb.org/extlink&oid=26872669&loc=d3e20235-122688
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 8
-Article 5
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Paragraph 8
-Article 9
false2
falseDeferred Financing Costs - Additional Information (Detail) (USD $)NoRoundingUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.opexatherapeutics.com/taxonomy/role/DisclosureDeferredFinancingCostsAdditionalInformation33