XML 115 R84.htm IDEA: XBRL DOCUMENT v3.20.1
Notes Payable - Additional Information (Detail) - USD ($)
12 Months Ended
Nov. 04, 2019
Jul. 10, 2019
May 23, 2018
May 10, 2017
May 10, 2017
Dec. 31, 2019
Dec. 31, 2018
Apr. 30, 2019
Oct. 23, 2018
May 31, 2018
Debt Instrument [Line Items]                    
Minimum advances available               $ 5,000,000.0    
Unrestricted cash balance requirement           $ 7,000,000.0        
Termination fees $ 16,400,000                  
Prepayment fees $ 1,400,000                  
Loss on extinguishment of debt           1,006,000 $ 1,400,000      
Notes Payable | Interest Expense                    
Debt Instrument [Line Items]                    
Loss on extinguishment of debt           1,000,000.0        
Hercules Loan Agreement                    
Debt Instrument [Line Items]                    
Repayments of debt   $ 15,000,000.0                
Notes payable   $ 30,000,000.0                
Debt discount liability                   $ 300,000
Debt Instrument, redemption price amount     $ 700,000              
Hercules Loan Agreement | Notes Payable | Interest Expense                    
Debt Instrument [Line Items]                    
Loss on extinguishment of debt           1,400,000        
Hercules Loan Agreement | Term Loan                    
Debt Instrument [Line Items]                    
Term loans aggregate principal amount     $ 40,000,000.0              
Repayment of term loans period     18 months              
Debt instrument amortization schedule     18 months              
Debt discount liability     $ 400,000              
Debt issuance costs recorded as debt discount     $ 1,100,000              
Prepayment fee percentage     6.95%              
Percentage outstanding     120.00%              
Percentage of maintained cash     80.00%              
Amount of investment to any future equity offering     $ 2,000,000.0              
Hercules Loan Agreement | Term Loan | Fixed Rate and Prime Rate                    
Debt Instrument [Line Items]                    
Term loans interest rate     5.00%              
Hercules Loan Agreement | Term Loan | Maximum                    
Debt Instrument [Line Items]                    
Term loans fixed interest rate     9.55%              
Hercules Loan Agreement | Term Loan | First Year After Initial Funding Date                    
Debt Instrument [Line Items]                    
Prepayment fee percentage     3.00%              
Hercules Loan Agreement | Term Loan | Second Year After Initial Funding Date                    
Debt Instrument [Line Items]                    
Prepayment fee percentage     2.00%              
Hercules Loan Agreement | Term Loan | Second Year After Initial Funding Date And Thereafter                    
Debt Instrument [Line Items]                    
Prepayment fee percentage     1.00%              
Hercules Loan Agreement | Term Loan | First Tranche                    
Debt Instrument [Line Items]                    
Term loans aggregate principal amount     $ 20,000,000.0              
Hercules Loan Agreement | Term Loan | Second Tranche                    
Debt Instrument [Line Items]                    
Term loans aggregate principal amount                 $ 10,000,000.0  
Hercules Loan Agreement | Term Loan | Tranche Four                    
Debt Instrument [Line Items]                    
Term loans aggregate principal amount               $ 20,000,000.0    
Loan and Security Agreement | Term Loan                    
Debt Instrument [Line Items]                    
Debt issuance costs recorded as debt discount       $ 1,200,000 $ 1,200,000          
Loan and Security Agreement | Term Loan | Innovatus Life Sciences Lending Fund I, LP                    
Debt Instrument [Line Items]                    
Term loans aggregate principal amount       $ 17,000,000.0 $ 17,000,000.0          
Repayment of term loans period         2 years          
Debt instrument amortization schedule       24 months            
Term loans fixed interest rate       11.00% 11.00%          
Term loans fixed interest rate       2.50% 2.50%          
Interest only payment period         24 months          
Loan and Security Agreement | Term Loan | First Tranche                    
Debt Instrument [Line Items]                    
Debt discount liability       $ 200,000 $ 200,000          
Warrants, exercise price (in dollars per share)       $ 13.00 $ 13.00          
Estimated fair value of warrants       $ 300,000 $ 300,000          
Unamortized debt discount           $ 0        
Loan and Security Agreement | Term Loan | First Tranche | Innovatus Life Sciences Lending Fund I, LP                    
Debt Instrument [Line Items]                    
Term loans aggregate principal amount       $ 14,000,000.0 $ 14,000,000.0          
Loan and Security Agreement | Term Loan | First Tranche | Maximum                    
Debt Instrument [Line Items]                    
Issue of warrants to purchase shares       95,750 95,750