Quarterly report pursuant to Section 13 or 15(d)

Debt - Schedule of Debt (Details)

v3.22.2
Debt - Schedule of Debt (Details) - USD ($)
$ in Thousands
Jun. 30, 2022
Dec. 31, 2021
Jul. 31, 2020
Debt Instrument [Line Items]      
Aggregate principal amount of long-term debt $ 250,000    
Long-term debt, non-current portion 246,450 $ 306,153  
Term Debt      
Debt Instrument [Line Items]      
Aggregate principal amount of long-term debt 250,000 310,000  
Unamortized debt discount (756) (816)  
Unamortized debt issuance costs (2,794) (3,031)  
Net carrying amount of long-term debt 246,450 306,153  
Less: current portion of long-term debt 0 0  
Long-term debt, non-current portion 246,450 306,153  
Initial term loan under June 23, 2021 credit agreement      
Debt Instrument [Line Items]      
Aggregate principal amount of long-term debt $ 250,000 $ 310,000  
Unamortized debt discount     $ (900)