XML 53 R40.htm IDEA: XBRL DOCUMENT v3.21.1
Hercules Loan Facility - Additional Information (Detail) - USD ($)
1 Months Ended 3 Months Ended
Mar. 11, 2021
Feb. 01, 2021
Aug. 31, 2020
Mar. 31, 2021
Jun. 30, 2022
Jul. 02, 2021
Jun. 30, 2021
Dec. 31, 2020
Debt Instrument [Line Items]                
Revenues     $ 20,000,000.0          
Principle payment commencement date       Oct. 01, 2022        
Loan description     Per the terms of the 2020 Loan Facility, principal will be repaid in equal monthly installments following the conclusion of the interest-only period. The Company may prepay all of the outstanding principal and accrued interest under the 2020 Loan Facility, subject to a prepayment charge up to 3.0% in the first year following the closing of the 2020 Loan Amendment, decreasing to 2.0% in year two and 1.0% in year three.          
Principal amount       $ 35,000,000.0        
Unamortized discount       $ 2,563,000        
Hercules Amended Loan Agreement                
Debt Instrument [Line Items]                
Loan issuance costs paid   $ 100,000            
Maturity date       Jul. 01, 2021        
Outstanding debt       $ 800,000        
Minimum | Hercules Amended Loan Agreement                
Debt Instrument [Line Items]                
Loan facility     $ 35,000,000.0          
Unrestricted Cash $ 15,000,000.0 10,000,000.0            
Unfunded Term Loan   20,000,000.0            
Unrestricted Cash And Cash Equivalents At Carrying Value   10,000,000.0            
Maximum [Member] | Hercules Amended Loan Agreement                
Debt Instrument [Line Items]                
Loan facility     45,000,000.0          
Unfunded Term Loan   30,000,000.0            
Unrestricted Cash And Cash Equivalents At Carrying Value   15,000,000.0            
Tranche Two | Hercules Amended Loan Agreement                
Debt Instrument [Line Items]                
Proceeds From Lines Of Credit $ 20,000,000.0              
Tranche Two | Minimum | Hercules Amended Loan Agreement                
Debt Instrument [Line Items]                
Loan facility received   10,000,000.0            
Tranche Two | Maximum [Member] | Hercules Amended Loan Agreement                
Debt Instrument [Line Items]                
Loan facility received   20,000,000.0            
Tranche Two | Forecast                
Debt Instrument [Line Items]                
Loan facility received             $ 10,000,000.0  
Tranche Three | Minimum | Hercules Amended Loan Agreement                
Debt Instrument [Line Items]                
Loan facility received   20,000,000.0            
Tranche Three | Maximum [Member] | Hercules Amended Loan Agreement                
Debt Instrument [Line Items]                
Loan facility received   $ 35,000,000.0            
Tranche Three | Forecast                
Debt Instrument [Line Items]                
Loan facility received           $ 5,000,000.0    
Tranche four | Forecast                
Debt Instrument [Line Items]                
Loan facility received         $ 5,000,000.0      
2020 Loan Agreement                
Debt Instrument [Line Items]                
Loan facility     35,000,000.0          
Secured Debt     9,700,000          
New loan funding received     $ 5,300,000          
Interest rate       9.65%        
Prime interest rate     3.25%          
Principle payment commencement date       Oct. 01, 2021        
Unrestricted Cash     $ 5,000,000.0          
Face amount       $ 2,400,000        
Maturity date       Sep. 01, 2023        
Unamortized discount       $ 2,600,000       $ 1,200,000
2020 Loan Agreement | Minimum                
Debt Instrument [Line Items]                
Interest rate     9.65%          
Unrestricted Cash     $ 10,000,000.0          
Percentage of forecast revenue     75.00%          
2020 Loan Agreement | Maximum [Member]                
Debt Instrument [Line Items]                
Interest rate     15.00%          
Undiscounted Excess Amount       $ 500,000        
2020 Loan Agreement | Tranche one                
Debt Instrument [Line Items]                
Loan facility received     $ 15,000,000.0