Quarterly report pursuant to Section 13 or 15(d)

Borrowing Arrangements - Additional Information (Detail)

v3.22.2
Borrowing Arrangements - Additional Information (Detail) - USD ($)
1 Months Ended 6 Months Ended
May 31, 2020
Feb. 27, 2018
Apr. 04, 2022
Jun. 30, 2022
Dec. 31, 2021
Debt Instrument [Line Items]          
Long-term debt, carrying value       $ 35,700,000 $ 35,500,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  
K2 Loan and Security Agreement          
Debt Instrument [Line Items]          
Maximum borrowing capacity under loan $ 45,000,000.0        
Loan and security agreement $ 35,000,000.0        
Loan and security agreement, lapsed amount         10,000,000.0
Interest rate       8.45%  
Amendment fee     $ 300,000    
Debt net       $ 2,800,000  
Debt instrument, covenant compliance       The Company was in compliance with the debt covenants at June 30, 2022 and expects to be compliant with the debt covenants for the next twelve months.  
Total debt       $ 35,000,000 $ 35,000,000.0
Long-term debt, carrying value       35,675,000  
K2 Loan and Security Agreement | Loan Facility Tranche Two          
Debt Instrument [Line Items]          
Additionally incurred prepaid facilities fee       $ 200,000  
K2 Loan and Security Agreement | Prime Rate          
Debt Instrument [Line Items]          
Interest rate       5.20%  
Term Loan Facility | Perceptive          
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.5972      
Fair value of the warrant recorded as a debt discount   $ 1,500,000      
Term Loan Facility | Perceptive | LIBOR          
Debt Instrument [Line Items]          
Applicable margin percentage   11.00%      
Term Loan Facility | Perceptive | 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      
Term Loan Facility | Perceptive | 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