Annual report pursuant to Section 13 and 15(d)

Borrowing Arrangements - Additional Information (Detail)

v3.22.1
Borrowing Arrangements - Additional Information (Detail) - USD ($)
12 Months Ended
May 21, 2020
Feb. 27, 2018
Dec. 31, 2021
Dec. 31, 2020
Debt Instrument [Line Items]        
Loss on extinguishment of debt     $ 0 $ (1,237,000)
Long-term debt, carrying value     35,500,000 14,900,000
Perceptive        
Debt Instrument [Line Items]        
Credit Facility, principal payments     4,900,000  
Credit Facility, interest expense     4,900,000  
Exit fees and prepayment penalties     $ 100,000  
Loss on extinguishment of debt       (1,200,000)
Perceptive | Term Loan Facility        
Debt Instrument [Line Items]        
Maximum borrowing capacity under loan   $ 10,000,000.0    
Increase in applicable margin percentage on event of default   4.00%    
Period for which interest only payments will be made   24 months    
Credit Facility, principal payments   $ 200,000    
Deferred finance costs   500,000    
Debt issuance cost, net of discount   $ 1,500,000    
Number of shares issued for each warrant   190,000    
Warrant exercisable period   7 years    
Warrant exercise price   $ 9.5792    
Fair value of the warrant recorded as a debt discount   $ 1,500,000    
Perceptive | Term Loan Facility | LIBOR        
Debt Instrument [Line Items]        
Applicable margin percentage   11.00%    
Perceptive | Term Loan Facility | Term Loan Drawn on Effective Date of Credit Facility        
Debt Instrument [Line Items]        
Proceeds from initial term loan on closing date of Credit Facility   $ 5,000,000.0    
Perceptive | Term Loan Facility | Additional Term Loan Drawn Six Months Following Effective Date of Credit Facility        
Debt Instrument [Line Items]        
Remaining available amount from credit facility did not draw down   $ 5,000,000.0    
K2 Loan and Security Agreement        
Debt Instrument [Line Items]        
Loan and security agreement $ 45,000,000.0      
Interest rate     8.45%  
Debt net     $ 2,500,000  
Debt instrument, covenant compliance     The Company was in compliance with the debt covenants at December 31, 2021 and expects to be compliant with the debt covenants for the next 12 months.  
Total debt     $ 35,000,000 $ 15,000,000.0
Long-term debt, carrying value     $ 35,491,000  
K2 Loan and Security Agreement | Tranche One        
Debt Instrument [Line Items]        
Loan and security agreement 15,000,000.0      
K2 Loan and Security Agreement | Tranche Two        
Debt Instrument [Line Items]        
Loan and security agreement $ 20,000,000.0      
Interest rate     0.20%  
K2 Loan and Security Agreement | Tranche Three        
Debt Instrument [Line Items]        
Loan and security agreement amount not drawn     $ 10,000,000.0  
K2 Loan and Security Agreement | Prime Rate        
Debt Instrument [Line Items]        
Interest rate     5.20%