2.4.0.8149 - Disclosure - Commitments and Contingencies - Additional Information (Detail)truefalsefalse1false
falsefalseeol_PE10315---13S-1-0008_STD_31_20051031_0http://www.sec.gov/CIK0001069308duration2005-10-01T00:00:002005-10-31T00:00:00TimesStandardhttp://www.opexatherapeutics.com/20130331Timesopxa02false
USDfalsefalse$eol_PE10315---13S-1-0008_STD_366_20121231_0http://www.sec.gov/CIK0001069308duration2012-01-01T00:00:002012-12-31T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$3false
USDfalsefalse$eol_PE10315---13S-1-0008_STD_365_20111231_0http://www.sec.gov/CIK0001069308duration2011-01-01T00:00:002011-12-31T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1true
3opxa_CommitmentAndContingenciesLineItemsopxa_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
2false
4opxa_OperatingLeaseTermopxa_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse0010 yearsfalsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | xbrli:durationItemTypenaOperating Lease TermNo definition available.false0
3false
4opxa_NumberOfLeaseRenewalOptionsopxa_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse22falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | xbrli:decimalItemTypedecimalNumber Of Lease Renewal OptionsNo definition available.false256
4false
4opxa_OperatingLeasesRenewalOptionPeriodopxa_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse005 yearsfalsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | xbrli:durationItemTypenaOperating Leases Renewal Option PeriodNo definition available.false0
5false
4us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2truefalsefalse157896157896USD$falsetruefalse | 3falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of required minimum rental payments maturing in the next fiscal year following the latest fiscal year for operating leases having an initial or remaining non-cancelable letter-terms in excess of one year.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 840
-SubTopic 10
-Section 55
-Paragraph 40
-Subparagraph (Note 3)
-URI http://asc.fasb.org/extlink&oid=6584154&loc=d3e38371-112697
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 840
-SubTopic 20
-Section 50
-Paragraph 2
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=6453985&loc=d3e41502-112717
false2
6false
4us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYearsus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2truefalsefalse157896157896falsefalsefalse | 3falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of required minimum rental payments maturing in the second fiscal year following the latest fiscal year for operating leases having an initial or remaining non-cancelable letter-terms in excess of one year.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 840
-SubTopic 10
-Section 55
-Paragraph 40
-Subparagraph (Note 3)
-URI http://asc.fasb.org/extlink&oid=6584154&loc=d3e38371-112697
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 840
-SubTopic 20
-Section 50
-Paragraph 2
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=6453985&loc=d3e41502-112717
false2
7false
4us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYearsus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2truefalsefalse118422118422falsefalsefalse | 3falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of required minimum rental payments maturing in the third fiscal year following the latest fiscal year for operating leases having an initial or remaining non-cancelable letter-terms in excess of one year.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 840
-SubTopic 10
-Section 55
-Paragraph 40
-Subparagraph (Note 3)
-URI http://asc.fasb.org/extlink&oid=6584154&loc=d3e38371-112697
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 840
-SubTopic 20
-Section 50
-Paragraph 2
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=6453985&loc=d3e41502-112717
false2
8false
4us-gaap_LeaseOperatingExpenseus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2truefalsefalse136000136000USD$falsetruefalse | 3truefalsefalse136000136000USD$falsetruefalse | xbrli:monetaryItemTypemonetaryAmount of lease operating expense related to property used in oil and gas production.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 840
-SubTopic 20
-Section 50
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6453985&loc=d3e41499-112717
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 10
-Paragraph a
-Subparagraph 17
-Article 4
false2
falseCommitments and Contingencies - Additional Information (Detail) (USD $)NoRoundingUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.opexatherapeutics.com/taxonomy/role/DisclosureCommitmentsAndContingenciesAdditionalInformation38