XML 45 R36.htm IDEA: XBRL DOCUMENT v3.22.2
Debt - Additional Information (Detail) - USD ($)
$ in Thousands
1 Months Ended 3 Months Ended 6 Months Ended
Feb. 25, 2022
Apr. 13, 2021
Apr. 03, 2021
Apr. 30, 2020
Jun. 30, 2022
Jun. 30, 2021
Jun. 30, 2022
Jun. 30, 2021
Dec. 31, 2021
Dec. 31, 2019
Debt Instrument [Line Items]                    
Long-term non current         $ 0   $ 0   $ 12,733  
Gain (Loss) on extinguishment of debt         0 $ 0 (200) $ 1,134    
Silicon Valley Bank [Member]                    
Debt Instrument [Line Items]                    
Gain (Loss) on extinguishment of debt     $ 1,100              
Minimum [Member]                    
Debt Instrument [Line Items]                    
Repayment period   $ 100                
Maximum [Member]                    
Debt Instrument [Line Items]                    
Repayment period   $ 300                
New Loan                    
Debt Instrument [Line Items]                    
Long-term non current                   $ 12,700
Accrued end-of-term payment $ 900       $ 300   $ 300      
Gain (Loss) on extinguishment of debt 200                  
Repayment period $ 12,800                  
End term cost of amount drawn under term loan in percent 5.25%                  
Amount drawn under term loan $ 15,000                  
Additional amount drawn under term loan 100                  
New Loan | Maximum [Member]                    
Debt Instrument [Line Items]                    
Interest/non-use fee $ 100                  
Paycheck Protection Program Loan                    
Debt Instrument [Line Items]                    
Proceeds from Paycheck Protection Program loan       $ 1,100