Long-Term Debt - Additional Information (Detail) - USD ($)
9 Months Ended
Sep. 30, 2015
Sep. 30, 2016
Sep. 30, 2015
Dec. 31, 2015
Debt Instrument [Line Items]        
Proceeds from sale of common stock   $ 61,287,000 $ 70,435,000  
Long-term debt obligation   19,653,000   $ 19,565,000
Hercules Term Loan [Member]        
Debt Instrument [Line Items]        
Principal amount outstanding $ 40,000,000   40,000,000  
Initial principal amount drawn 20,000,000   20,000,000  
Remaining available amount under loan agreement 20,000,000 $ 20,000,000 20,000,000  
Minimum incremental option to withdraw on loan $ 10,000,000   $ 10,000,000  
Loan agreement description   Under the Loan Agreement, Hercules will provide the Company with access to term loans with an aggregate principal amount of up to $40.0 million, or the Term Loan. The Company initially drew a principal amount of $20.0 million, which was funded on September 30, 2015. The remaining $20.0 million available under the Loan Agreement can be drawn at the Company’s option in minimum increments of $10.0 million through December 31, 2016, or the Draw Period.    
Loan agreement payment terms   The Term Loan is repayable in monthly installments commencing on April 1, 2018 through maturity on September 1, 2020.    
Loan repayment commencement date Apr. 01, 2018      
Loan maturity date Sep. 01, 2020      
Loan interest rate description   The interest rate is equal to the greater of (i) 8.5%, or (ii) the sum of 8.5%, plus the “prime rate” as reported in The Wall Street Journal minus 5.75% per annum.    
Basis spread on prime rate 5.75%      
End of term charge 4.50%   4.50%  
Additional interest rate on default 5.00%      
Minimum subordinated debt for event of default $ 1,000,000   $ 1,000,000  
Debt issuance costs $ 511,000   511,000  
Warrants issued to purchase common stock 32,692      
Warrants exercise price $ 24.47      
Fair value of warrants $ 288,000   288,000  
Aggregate amount of warrant fair and fees paid 572,000      
Cost allocated to debt discount amortized as additional interest expense 208,000      
Cost allocated to prepaid expenses and are being amortized $ 364,000   $ 364,000  
Long-term debt obligation   $ 19,700,000    
Debt discount, net   300,000    
Prepaid expenses   $ 100,000    
Hercules Term Loan [Member] | Hercules [Member]        
Debt Instrument [Line Items]        
Rights to purchase common stock, exercised 44,782      
Proceeds from sale of common stock $ 1,000,000      
Hercules Term Loan [Member] | Hercules Technology II, L.P. [Member]        
Debt Instrument [Line Items]        
Warrants issued to purchase common stock 16,346      
Hercules Term Loan [Member] | Hercules Technology III, L.P. [Member]        
Debt Instrument [Line Items]        
Warrants issued to purchase common stock 16,346      
Hercules Term Loan [Member] | Prior to April 1, 2018        
Debt Instrument [Line Items]        
Percentage of prepayment   2.00%    
Hercules Term Loan [Member] | On Or After April One Two Thousand Eighteen        
Debt Instrument [Line Items]        
Prepayment fee   $ 0    
Hercules Term Loan [Member] | Minimum [Member]        
Debt Instrument [Line Items]        
Loan interest rate 8.50%   8.50%  
Hercules Term Loan [Member] | Maximum [Member] | Hercules [Member]        
Debt Instrument [Line Items]        
Rights granted in subsequent sales and issuance of equity securities $ 2,000,000   $ 2,000,000