Annual report pursuant to Section 13 and 15(d)

Facility Loans - Additional Information (Detail)

v3.6.0.2
Facility Loans - Additional Information (Detail) - USD ($)
12 Months Ended
Aug. 07, 2015
Sep. 30, 2013
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2013
Mar. 31, 2016
Debt Instrument [Line Items]            
Facility loan, drawn       $ 9,482,000    
Issued warrants to purchase common stock     114,436      
Exercise price of common stock     $ 2.84      
Warrant term     10 years      
Warrants [Member]            
Debt Instrument [Line Items]            
Fair value of warrant liabilities   $ 300,000        
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  
Second Tranche [Member]            
Debt Instrument [Line Items]            
Facility loan, unused amount expired           $ 5,000,000
2013 Term Loan Facility [Member]            
Debt Instrument [Line Items]            
Maximum borrowing capacity   $ 10,000,000        
Facility loan, interest amortization period   36 months        
Facility loan, final interest payment   $ 300,000        
Retiring of existing debt $ 4,100,000          
2013 Term Loan Facility [Member] | First Tranche [Member]            
Debt Instrument [Line Items]            
Facility loan, drawn   $ 5,000,000        
Facility loan, fixed interest rate   8.75%        
2013 Term Loan Facility [Member] | Second Tranche [Member]            
Debt Instrument [Line Items]            
Facility loan available for draw down   $ 5,000,000        
2015 Term Loan Facility [Member]            
Debt Instrument [Line Items]            
Maximum borrowing capacity $ 15,000,000          
Debt instrument payment terms     Under the first tranche, the Company is required to make 12 monthly interest only payments after the funding date followed by a repayment schedule equal to 36 equal monthly payments of interest and principal.      
Percentage of principal amount as final payment 6.50%          
Facility fee 1.00%          
2015 Term Loan Facility [Member] | Minimum [Member]            
Debt Instrument [Line Items]            
Upfront payment $ 35,000,000          
Present value of the future cash flows 10.00%          
2015 Term Loan Facility [Member] | First Tranche [Member]            
Debt Instrument [Line Items]            
Facility loan, drawn $ 10,000,000          
Facility loan, fixed interest rate 8.77%          
2015 Term Loan Facility [Member] | First Tranche [Member] | Minimum [Member]            
Debt Instrument [Line Items]            
Facility loan, fixed interest rate 8.75%          
2015 Term Loan Facility [Member] | First Tranche [Member] | Wall Street Journal Prime Rate [Member] | Minimum [Member]            
Debt Instrument [Line Items]            
Facility loan, fixed interest rate 8.47%          
2015 Term Loan Facility [Member] | Second Tranche [Member]            
Debt Instrument [Line Items]            
Facility loan available for draw down $ 5,000,000