| 
           Shareholders' Equity - Additional Information (Detail) (USD $)
  
         | 
        0 Months Ended | 
        3 Months Ended | 
        12 Months Ended | 
        0 Months Ended | 
      
      
        | 
           Dec. 31, 2014 
         | 
        
           Jan. 13, 2014 
         | 
        
           Nov. 27, 2013 
         | 
        
           Oct. 18, 2013 
         | 
        
           Sep. 30, 2013 
         | 
        
           Dec. 31, 2014 
         | 
        
           Dec. 31, 2013 
         | 
        
           Dec. 31, 2012 
         | 
        
           Nov. 20, 2013 
         | 
        
           May 30, 2014 
         | 
        
           May 30, 2013 
         | 
        
           Jan. 31, 2013 
         | 
        
           Dec. 18, 2013 
         | 
        
           Sep. 30, 2013 
         | 
      
      
        | Class of Stock [Line Items] | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
      
      
        | Gross proceeds from private placement of common stock | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
        
$ 13,804,996us-gaap_ProceedsFromIssuanceOfCommonStock
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
      
      
        | Recorded non cash expenses | 
         
 | 
         
 | 
         
 | 
         
 | 
        
6,000,000ogen_TechnologyAccessFeePaidInCommonStockAndConvertibleNotePayableToShareholder
 | 
         
 | 
        
6,000,000ogen_TechnologyAccessFeePaidInCommonStockAndConvertibleNotePayableToShareholder
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
      
      
        | Shares awarded under plan | 
         
 | 
         
 | 
        
502,654us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesIssuedInPeriod
 | 
        
422,359us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesIssuedInPeriod
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
      
      
        | Shares withheld to cover tax payments | 
         
 | 
         
 | 
        
113,636us-gaap_SharesPaidForTaxWithholdingForShareBasedCompensation
 | 
        
84,287us-gaap_SharesPaidForTaxWithholdingForShareBasedCompensation
 | 
         
 | 
        
0us-gaap_SharesPaidForTaxWithholdingForShareBasedCompensation
 | 
        
197,923us-gaap_SharesPaidForTaxWithholdingForShareBasedCompensation
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
      
      
        | Capital raise threshold | 
         
 | 
         
 | 
        
12,000,000ogen_PerformanceGoalAchievementCapitalRaise
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
      
      
        | Gross proceeds from issuance of common stock | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
        
14,900,000ogen_ProceedsFromIssuanceOfCommonStockGross
 | 
        
13,000,000ogen_ProceedsFromIssuanceOfCommonStockGross
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
      
      
        | Issued warrants, exercised | 
         
 | 
        
210,000ogen_ClassOfWarrantOrRightExercised
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
      
      
        | Shares of common stock issued upon exercise of warrants | 
         
 | 
        
135,000us-gaap_StockIssuedDuringPeriodSharesConversionOfUnits
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
      
      
        | Warrants outstanding | 
        
2,532,094us-gaap_ClassOfWarrantOrRightOutstanding
 | 
         
 | 
         
 | 
         
 | 
         
 | 
        
2,532,094us-gaap_ClassOfWarrantOrRightOutstanding
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
      
      
        | Number of Stock options outstanding | 
        
820,865us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber
 | 
         
 | 
         
 | 
         
 | 
         
 | 
        
820,865us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber
 | 
        
633,840us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber
 | 
        
660,423us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
      
      
        | Total number of outstanding common shares | 
        
39,531,903ogen_NumberOfCommonStockOutstandingIfWarrantsAndStockOptionsExercised
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
      
      
        | Underwriter [Member] | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
      
      
        | Class of Stock [Line Items] | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
      
      
        | Company's common stock shares sold | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
        
4,400,000us-gaap_StockIssuedDuringPeriodSharesNewIssues / us-gaap_SubsidiarySaleOfStockAxis = ogen_UnderwriterMember
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
      
      
        | Common Stock, Public offering price | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
        
$ 2.50us-gaap_SharePrice / us-gaap_SubsidiarySaleOfStockAxis = ogen_UnderwriterMember
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
      
      
        | Gross proceeds from private placement of common stock | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
        
9,904,996us-gaap_ProceedsFromIssuanceOfCommonStock / us-gaap_SubsidiarySaleOfStockAxis = ogen_UnderwriterMember
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
      
      
        | Gross proceeds from issuance of common stock | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
        
11,000,000ogen_ProceedsFromIssuanceOfCommonStockGross / us-gaap_SubsidiarySaleOfStockAxis = ogen_UnderwriterMember
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
      
      
        | Non Employee Director [Member] | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
      
      
        | Class of Stock [Line Items] | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
      
      
        | Shares awarded under plan | 
         
 | 
         
 | 
        
191,985us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesIssuedInPeriod / us-gaap_TitleOfIndividualAxis = ogen_NonEmployeeDirectorMember
 | 
        
165,925us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesIssuedInPeriod / us-gaap_TitleOfIndividualAxis = ogen_NonEmployeeDirectorMember
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
      
      
        | Executive Officer [Member] | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
      
      
        | Class of Stock [Line Items] | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
      
      
        | Shares awarded under plan | 
         
 | 
         
 | 
        
310,669us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesIssuedInPeriod / us-gaap_TitleOfIndividualAxis = us-gaap_ExecutiveOfficerMember
 | 
        
256,434us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesIssuedInPeriod / us-gaap_TitleOfIndividualAxis = us-gaap_ExecutiveOfficerMember
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
      
      
        | 2012 Equity Incentive Plan [Member] | Non Employee Director [Member] | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
      
      
        | Class of Stock [Line Items] | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
      
      
        | Common stock, grant award of fully vested shares | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
        
10,000us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsGranted / us-gaap_PlanNameAxis = ogen_TwoThousandTwelveEquityIncentivePlanMember / us-gaap_TitleOfIndividualAxis = ogen_NonEmployeeDirectorMember
 | 
         
 | 
         
 | 
         
 | 
         
 | 
      
      
        | Recognized expenses, to award of shares to non employee directors | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
        
102,500us-gaap_AllocatedShareBasedCompensationExpense / us-gaap_PlanNameAxis = ogen_TwoThousandTwelveEquityIncentivePlanMember / us-gaap_TitleOfIndividualAxis = ogen_NonEmployeeDirectorMember
 | 
         
 | 
         
 | 
         
 | 
         
 | 
      
      
        | Lantibiotic Exclusive Channel Collaboration (ECC) [Member] | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
      
      
        | Class of Stock [Line Items] | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
      
      
        | Common stock issued | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
        
4,392,425us-gaap_StockIssuedDuringPeriodSharesIssuedForNoncashConsideration / us-gaap_TypeOfArrangementAxis = ogen_LantibioticEccMember
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
      
      
        | Class of Warrant Three [Member] | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
      
      
        | Class of Stock [Line Items] | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
      
      
        | Class of warrants or rights expired | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
        
127,888ogen_ClassOfWarrantOrRightExpired / us-gaap_ClassOfWarrantOrRightAxis = ogen_ClassOfWarrantThreeMember
 | 
         
 | 
         
 | 
         
 | 
      
      
        | Warrants exercisable price per share | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
        
$ 26.00us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = ogen_ClassOfWarrantThreeMember
 | 
         
 | 
         
 | 
         
 | 
      
      
        | Class of Warrant Four [Member] | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
      
      
        | Class of Stock [Line Items] | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
      
      
        | Class of warrants or rights expired | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
        
161,000ogen_ClassOfWarrantOrRightExpired / us-gaap_ClassOfWarrantOrRightAxis = ogen_ClassOfWarrantFourMember
 | 
         
 | 
         
 | 
         
 | 
      
      
        | Warrants exercisable price per share | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
        
$ 15.00us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = ogen_ClassOfWarrantFourMember
 | 
         
 | 
         
 | 
         
 | 
      
      
        | Griffin Securities Inc. [Member] | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
      
      
        | Class of Stock [Line Items] | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
      
      
        | Issued warrants, exercised | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
        
200,000ogen_ClassOfWarrantOrRightExercised / us-gaap_CounterpartyNameAxis = ogen_GriffinSecuritiesIncMember
 | 
         
 | 
         
 | 
      
      
        | Shares of common stock issued upon exercise of warrants | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
        
106,250us-gaap_StockIssuedDuringPeriodSharesConversionOfUnits / us-gaap_CounterpartyNameAxis = ogen_GriffinSecuritiesIncMember
 | 
         
 | 
         
 | 
      
      
        | Intrexon [Member] | Lantibiotic Exclusive Channel Collaboration (ECC) [Member] | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
      
      
        | Class of Stock [Line Items] | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
      
      
        | Company's common stock shares sold | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
        
1,300,000us-gaap_StockIssuedDuringPeriodSharesNewIssues / us-gaap_RelatedPartyTransactionsByRelatedPartyAxis = us-gaap_PrincipalOwnerMember / us-gaap_TypeOfArrangementAxis = ogen_LantibioticEccMember
 | 
      
      
        | Common Stock, Public offering price | 
         
 | 
         
 | 
         
 | 
         
 | 
        
$ 3.00us-gaap_SharePrice / us-gaap_RelatedPartyTransactionsByRelatedPartyAxis = us-gaap_PrincipalOwnerMember / us-gaap_TypeOfArrangementAxis = ogen_LantibioticEccMember
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
        
$ 3.00us-gaap_SharePrice / us-gaap_RelatedPartyTransactionsByRelatedPartyAxis = us-gaap_PrincipalOwnerMember / us-gaap_TypeOfArrangementAxis = ogen_LantibioticEccMember
 | 
      
      
        | Gross proceeds from private placement of common stock | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
        
3,900,000us-gaap_ProceedsFromIssuanceOfCommonStock / us-gaap_RelatedPartyTransactionsByRelatedPartyAxis = us-gaap_PrincipalOwnerMember / us-gaap_TypeOfArrangementAxis = ogen_LantibioticEccMember
 | 
      
      
        | Up-front technology access fee | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
        
6,000,000ogen_TechnologyAccessFeeUpfrontPayment / us-gaap_RelatedPartyTransactionsByRelatedPartyAxis = us-gaap_PrincipalOwnerMember / us-gaap_TypeOfArrangementAxis = ogen_LantibioticEccMember
 | 
      
      
        | Common stock issued | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
        
1,348,000us-gaap_StockIssuedDuringPeriodSharesIssuedForNoncashConsideration / us-gaap_RelatedPartyTransactionsByRelatedPartyAxis = us-gaap_PrincipalOwnerMember / us-gaap_TypeOfArrangementAxis = ogen_LantibioticEccMember
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
      
      
        | Convertible promissory note issued to pay technology access fee | 
        
 1,956,000us-gaap_DebtInstrumentFaceAmount / us-gaap_RelatedPartyTransactionsByRelatedPartyAxis = us-gaap_PrincipalOwnerMember / us-gaap_TypeOfArrangementAxis = ogen_LantibioticEccMember
 | 
         
 | 
         
 | 
         
 | 
         
 | 
        
 1,956,000us-gaap_DebtInstrumentFaceAmount / us-gaap_RelatedPartyTransactionsByRelatedPartyAxis = us-gaap_PrincipalOwnerMember / us-gaap_TypeOfArrangementAxis = ogen_LantibioticEccMember
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
      
      
        | Maturity date of convertible note | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
        Dec. 31,  2013
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
      
      
        | Common stock issued | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
        
698,241us-gaap_DebtConversionConvertedInstrumentSharesIssued1 / us-gaap_RelatedPartyTransactionsByRelatedPartyAxis = us-gaap_PrincipalOwnerMember / us-gaap_TypeOfArrangementAxis = ogen_LantibioticEccMember
 | 
         
 | 
      
      
        | Conversion price of convertible note payable | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
         
 | 
        
$ 2.82us-gaap_DebtInstrumentConvertibleConversionPrice1 / us-gaap_RelatedPartyTransactionsByRelatedPartyAxis = us-gaap_PrincipalOwnerMember / us-gaap_TypeOfArrangementAxis = ogen_LantibioticEccMember
 | 
         
 |