XML 69 R53.htm IDEA: XBRL DOCUMENT v3.19.1
Long-term Debt - Additional Information (Detail) - Secured Debt - USD ($)
1 Months Ended
Nov. 30, 2017
Dec. 31, 2018
Jul. 31, 2018
Dec. 31, 2017
Loan and Security Agreement | Silicon Valley Bank        
Debt Instrument [Line Items]        
Debt instrument maximum borrowing capacity $ 18,000,000      
Proceeds from line of credit 16,000,000      
Remaining borrowing capacity     $ 2,000,000  
Legally restricted cash $ 16,000,000     $ 16,000,000
Repayment term 36 months      
Interest only period 12 months      
Debt instrument stated interest rate percentage 6.75%      
Fee payable when loan is paid or payable in full 9.00%      
Fee amount on term loan   $ 1,400,000   $ 1,400,000
Debt instrument unamortized discount $ 1,900,000 1,400,000    
Debt issuance costs $ 100,000      
Debt instrument unamortized issuance cost   100,000    
Outstanding principal balance   $ 15,600,000    
Line of Credit Facility, Interest Rate at Period End   8.00%    
Loan and Security Agreement | Participation Arrangement | Silicon Valley Bank        
Debt Instrument [Line Items]        
Number of warrants issued (in shares) 190,140      
Warrant exercise price (in USD per share) $ 2.84      
Loan and Security Agreement | Prime Rate | Silicon Valley Bank        
Debt Instrument [Line Items]        
Interest rate above prime rate 2.50%      
Loan Agreement | Hercules        
Debt Instrument [Line Items]        
Debt instrument unamortized discount $ 100,000      
Repaid principle face amount $ 14,300,000