Quarterly report pursuant to Section 13 or 15(d)

Convertible Debt - Additional Information (Details)

v3.22.2
Convertible Debt - Additional Information (Details)
$ / shares in Units, $ in Thousands
Apr. 26, 2022
USD ($)
Dec. 22, 2021
USD ($)
Day
$ / shares
Jun. 30, 2022
USD ($)
Dec. 31, 2021
USD ($)
Convertible Debt [Line Items]        
Convertible debt principal amount     $ 15,000 $ 15,000
Convertible debt, interest rate   2.25%    
Convertible debt compound interest   7.00%    
Prime Rate Minus 1.0% [Member]        
Convertible Debt [Line Items]        
Convertible debt, interest rate   1.00%    
SVB [Member]        
Convertible Debt [Line Items]        
Maturity date Apr. 01, 2026      
Convertible debt, interest rate 3.50%      
Debt instrument, repayment terms Commencing on May 1, 2024, the outstanding loans under the Loan Agreement will be repaid in 24 consecutive equal monthly installments of principal plus accrued and unpaid interest.      
Aggregate principal amount of term loan advances extended percentage 6.00%      
Debt instrument, liquidity ratio 1.25      
Minimum market capitalization $ 250,000      
Drawn amount     $ 0  
SVB [Member] | Minimum [Member]        
Convertible Debt [Line Items]        
Net cash proceeds from the issuance and sale of equity securities 30,000      
SVB [Member] | Contingent Convertible Debt Agreement [Member]        
Convertible Debt [Line Items]        
Convertible debt principal amount   $ 25,000    
Maturity date   Dec. 22, 2023    
Extendable maturity date   Dec. 22, 2024    
Conversion price per share | $ / shares   $ 9.34    
Stock price trigger | $ / shares   $ 24.00    
Threshold consecutive trading days | Day   30    
SVB [Member] | Contingent Convertible Debt Agreement [Member] | Before 18-Month Anniversary [Member]        
Convertible Debt [Line Items]        
Percentage of principal amount to be repaid   125.00%    
SVB [Member] | Contingent Convertible Debt Agreement [Member] | After 18-Month Anniversary [Member]        
Convertible Debt [Line Items]        
Percentage of principal amount to be repaid   150.00%    
SVB [Member] | Contingent Convertible Debt Agreement [Member] | Convertible Indebtedness [Member]        
Convertible Debt [Line Items]        
Convertible debt principal amount   $ 15,000    
SVB [Member] | Contingent Convertible Debt Agreement [Member] | Non-Convertible Term Loans [Member]        
Convertible Debt [Line Items]        
Convertible debt principal amount $ 10,000