XML 82 R65.htm IDEA: XBRL DOCUMENT v3.22.0.1
Long-Term Debt - Additional Information (Detail) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended 12 Months Ended
Feb. 20, 2018
Jun. 30, 2021
Jun. 30, 2021
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
May 31, 2021
Mar. 29, 2019
Debt Instrument [Line Items]                
Net proceeds from the initial term loan       $ 74,250    
Debt interest rate             2.50%  
Long-term debt, net of debt discount       $ 5,010 1,094      
Debt maturity date       May 15, 2026        
Interest expense related to initial term loan       $ 4,224        
Loss on debt extinguishment       (5,232) 0 0    
Repayment of long-term debt       190,194    
Loan Agreement                
Debt Instrument [Line Items]                
Interest expense related to initial term loan       $ 7,000 $ 19,100 $ 16,500    
CRG Servicing LLC                
Debt Instrument [Line Items]                
Maximum borrowing capacity $ 175,000              
Net proceeds from the initial term loan $ 173,300              
Debt interest rate 9.50%              
Debt maturity date       Dec. 31, 2023        
Current borrowing capacity $ 100,000             $ 75,000
Loss on debt extinguishment   $ 5,200            
Repayment of long-term debt     $ 190,200