XML 97 R81.htm IDEA: XBRL DOCUMENT v3.10.0.1
Notes Payable - Additional Information (Detail) - USD ($)
1 Months Ended 12 Months Ended
May 23, 2018
May 10, 2017
May 31, 2018
May 31, 2017
Dec. 31, 2018
Dec. 31, 2017
Oct. 23, 2018
Apr. 28, 2017
Dec. 31, 2016
Debt Instrument [Line Items]                  
Loss on Extinguishment of notes payable         $ (1,400,000) $ (308,000)      
Issue of warrants to purchase shares of company's common stock               24,900,000  
Notes Payable [Member]                  
Debt Instrument [Line Items]                  
Debt issuance costs paid to prior lenders and third parties         371,000        
Debt issuance cost         280,000        
Debt unamortized balance                 $ 107,000
Notes Payable [Member] | Loss on Extinguishment of Notes Payable [Member]                  
Debt Instrument [Line Items]                  
Debt unamortized balance       $ 63,000          
Hercules Loan Agreement [Member]                  
Debt Instrument [Line Items]                  
Debt discount liability, facility fee recorded as debt discount     $ 287,000            
Debt Instrument, redemption price amount     $ 680,000            
Hercules Loan Agreement [Member] | Notes Payable [Member] | Interest Expense [Member]                  
Debt Instrument [Line Items]                  
Loss on Extinguishment of notes payable         $ (1,400,000)        
Hercules Loan Agreement [Member] | Term Loan [Member]                  
Debt Instrument [Line Items]                  
Note issuance date         May 23, 2018        
Term loans aggregate principal amount $ 40,000,000                
Repayment of term loans period 18 months                
Debt instrument amortization schedule 18 months                
Debt instrument repayment term         The Company is entitled to make interest-only payments until December 1, 2020, and at the end of the interest-only period, the Company will be required to repay the term loans over an eighteen-month period based on an eighteen-month amortization schedule, with a final maturity date of June 1, 2022.        
Interest only payment date         Dec. 01, 2020        
Maturity date of the term loans         Jun. 01, 2022        
Debt discount liability, facility fee recorded as debt discount $ 400,000                
Debt issuance costs recorded as debt discount $ 1,100,000                
Prepayment fee percentage 6.95%                
Term loans payment terms         In addition, the Company is permitted to prepay the term loans in full at any time, with a prepayment fee of 3.0% of the outstanding principal amount of the loan in the first year after the Initial Funding Date, 2.0% if the prepayment occurs in the second year after the Initial Funding Date and 1.0% thereafter. Upon prepayment of the term loans in full or repayment of the terms loans at the maturity date or upon acceleration, the Company is required to pay a final fee of 6.95% of the aggregate principal amount of term loans funded. The final payment fee is accreted to interest expense over the life of the term loan and included within notes payable on the consolidated balance sheet.        
Percentage outstanding principal balance of term loans required to be maintained 120.00%                
Percentage of maintained cash and investment property in accounts of aggregate cash of parent and subsidiaries 80.00%                
Amount of investment to any future equity offering $ 2,000,000                
Hercules Loan Agreement [Member] | Term Loan [Member] | Fixed Rate and Prime Rate [Member]                  
Debt Instrument [Line Items]                  
Term loans interest rate 5.00%                
Hercules Loan Agreement [Member] | Term Loan [Member] | Maximum [Member]                  
Debt Instrument [Line Items]                  
Term loans fixed interest rate 9.55%                
Hercules Loan Agreement [Member] | Term Loan [Member] | First Year After Initial Funding Date [Member]                  
Debt Instrument [Line Items]                  
Prepayment fee percentage 3.00%                
Hercules Loan Agreement [Member] | Term Loan [Member] | Second Year After Initial Funding Date [Member]                  
Debt Instrument [Line Items]                  
Prepayment fee percentage 2.00%                
Hercules Loan Agreement [Member] | Term Loan [Member] | Second Year After Initial Funding Date And Thereafter [Member]                  
Debt Instrument [Line Items]                  
Prepayment fee percentage 1.00%                
Hercules Loan Agreement [Member] | Term Loan [Member] | First Tranche [Member]                  
Debt Instrument [Line Items]                  
Term loans aggregate principal amount $ 20,000,000                
Hercules Loan Agreement [Member] | Term Loan [Member] | Second Tranche [Member]                  
Debt Instrument [Line Items]                  
Term loans aggregate principal amount             $ 10,000,000    
Hercules Loan Agreement [Member] | Term Loan [Member] | Third Tranche [Member]                  
Debt Instrument [Line Items]                  
Term loans aggregate principal amount             $ 10,000,000    
Term loans fixed interest rate 9.20%                
Loan and Security Agreement [Member]                  
Debt Instrument [Line Items]                  
Debt discount liability, facility fee recorded as debt discount       255,000          
Debt Instrument, redemption price amount       $ 1,300,000          
Loan and Security Agreement [Member] | Notes Payable [Member] | Interest Expense [Member]                  
Debt Instrument [Line Items]                  
Loss on Extinguishment of notes payable           (308,000)      
Loan and Security Agreement [Member] | Term Loan [Member]                  
Debt Instrument [Line Items]                  
Debt issuance costs recorded as debt discount   $ 1,200,000              
Warrant expiration period   5 years              
Loan and Security Agreement [Member] | Term Loan [Member] | Innovatus Life Sciences Lending Fund I, LP [Member]                  
Debt Instrument [Line Items]                  
Note issuance date   May 10, 2017              
Term loans aggregate principal amount   $ 17,000,000              
Repayment of term loans period   2 years              
Debt instrument amortization schedule   24 months              
Maturity date of the term loans         May 10, 2021        
Term loans fixed interest rate   11.00%              
Term loans fixed interest rate, paid in-kind percentage   2.50%              
Interest only payment period   24 months              
Loan and Security Agreement [Member] | Term Loan [Member] | First Tranche [Member]                  
Debt Instrument [Line Items]                  
Debt discount liability, facility fee recorded as debt discount   $ 170,000              
Warrants, exercise price   $ 1.00              
Estimated fair value of warrants   $ 300,000              
Unamortized debt discount         $ 0 $ 1,000,000      
Loan and Security Agreement [Member] | Term Loan [Member] | First Tranche [Member] | Innovatus Life Sciences Lending Fund I, LP [Member]                  
Debt Instrument [Line Items]                  
Term loans aggregate principal amount   $ 14,000,000              
Loan and Security Agreement [Member] | Term Loan [Member] | First Tranche [Member] | Maximum [Member]                  
Debt Instrument [Line Items]                  
Issue of warrants to purchase shares of company's common stock   1,244,746