XML 11 R58.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
Dec. 31, 2019
Apr. 30, 2019
Oct. 23, 2018
Debt Instrument [Line Items]            
Minimum advances available under facility         $ 5,000,000.0  
Debt covenant, unrestricted cash       $ 7,000,000.0    
Termination fees $ 16,400,000          
Prepayment fee $ 1,400,000          
Notes Payable | Interest Expense            
Debt Instrument [Line Items]            
Loss on extinguishment of notes payable       $ 1,000,000.0    
Hercules Loan Agreement            
Debt Instrument [Line Items]            
Reduction of indebtedness   $ 15,000,000.0        
Loan amount outstanding   $ 30,000,000.0        
Hercules Loan Agreement | Term Loan            
Debt Instrument [Line Items]            
Term loans aggregate principal amount     $ 40,000,000.0      
Debt instrument repayment period after interest only period     18 months      
Debt instrument amortization period     18 months      
Debt issuance costs recorded as debt discount     $ 1,100,000      
Debt discount liability, facility fee recorded as debt discount     $ 400,000      
Prepayment fee percentage     6.95%      
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.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     10.05%      
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 | Tranche Two            
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