Quarterly report pursuant to Section 13 or 15(d)

Borrowing Arrangements and Debt Extinguishment - Additional Information (Detail)

v3.23.2
Borrowing Arrangements and Debt Extinguishment - Additional Information (Detail)
1 Months Ended 3 Months Ended 6 Months Ended
Jun. 16, 2023
USD ($)
$ / shares
shares
Apr. 30, 2022
USD ($)
May 31, 2020
USD ($)
Jun. 30, 2023
USD ($)
Jun. 30, 2023
USD ($)
Dec. 31, 2021
USD ($)
Debt Instrument [Line Items]            
Gain on extinguishment of debt       $ 1,795,000 $ 1,795,000  
CVR Agreement            
Debt Instrument [Line Items]            
Remaining value convertible $ 3,000,000.0          
Warrants to purchase shares of common stock | shares 5,103,343          
Exercise price of warrant | $ / shares $ 0.3919          
Warrants term 10 years          
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% 8.45%  
Amendment fee   $ 300,000        
K2 Loan and Security Agreement | CVR Agreement            
Debt Instrument [Line Items]            
Aggregate repayment in cash $ 27,500,000          
Maximum remaining value 10,303,646          
Maximum payment obligation 25,759,115          
Additional payment upon change in control $ 2,500,000          
Number of shares issued upon conversion of remaining value | shares 6,124,011          
Exercise price of warrant | $ / shares $ 0.3919          
Warrants term 10 years          
K2 Loan and Security Agreement | CVR Agreement | Contingent payment event one            
Debt Instrument [Line Items]            
Payments to be made based on percentage of remaining value 50.00%          
K2 Loan and Security Agreement | CVR Agreement | Contingent payment event two            
Debt Instrument [Line Items]            
Payments to be made based on percentage of remaining value 100.00%          
K2 Loan and Security Agreement | CVR Agreement | Minimum            
Debt Instrument [Line Items]            
Escalation multiplier 1.0          
K2 Loan and Security Agreement | CVR Agreement | Maximum            
Debt Instrument [Line Items]            
Escalation multiplier 2.5          
Remaining value convertible $ 3,000,000          
Threshold percentage of outstanding common stock that can be issued 19.99%          
Warrants to purchase shares of common stock | shares 5,103,343          
K2 Loan and Security Agreement | Prime Rate            
Debt Instrument [Line Items]            
Interest rate       5.20% 5.20%