Quarterly report pursuant to Section 13 or 15(d)

Facility Loans - Additional Information (Detail)

v3.10.0.1
Facility Loans - Additional Information (Detail) - USD ($)
3 Months Ended 6 Months Ended
Jun. 04, 2018
Sep. 30, 2013
Jun. 30, 2018
Jun. 30, 2018
Jun. 30, 2017
Dec. 31, 2017
Aug. 07, 2015
Debt Instrument [Line Items]              
Facility loan, less current portion           $ 2,990,000  
Repayment of facility loan       $ 6,527,000 $ 1,534,000    
Loss on extinguishment of debt     $ 407,000 $ 407,000      
2013 Term Loan Facility [Member]              
Debt Instrument [Line Items]              
Facility loan, drawn   $ 5,000,000          
2013 Term Loan Facility [Member] | Warrants, Exercise Price of $5.00 Per Share [Member]              
Debt Instrument [Line Items]              
Issued warrants to purchase common stock   121,739          
Exercise price of common stock   $ 5.00          
Warrant term       7 years      
2015 Term Loan Facility [Member]              
Debt Instrument [Line Items]              
Issued warrants to purchase common stock     114,436 114,436      
Exercise price of common stock     $ 2.84 $ 2.84      
Warrant term       10 years      
Maximum borrowing capacity             $ 10,000,000
Facility loan, less current portion     $ 0 $ 0   $ 5,900,000  
Repayment of facility loan $ 4,200,000            
Facility loan, final fee 700,000            
Prepayment penalty 100,000            
Loss on extinguishment of debt $ 400,000