Annual report pursuant to Section 13 and 15(d)

Debt - Additional Information (Details)

v3.22.1
Debt - Additional Information (Details)
$ in Thousands
1 Months Ended 2 Months Ended 3 Months Ended 6 Months Ended 12 Months Ended 21 Months Ended
Aug. 21, 2014
Jun. 30, 2020
USD ($)
Mar. 31, 2020
USD ($)
Feb. 29, 2020
USD ($)
Aug. 12, 2019
May 31, 2019
USD ($)
Mar. 31, 2019
USD ($)
Jun. 28, 2019
Mar. 31, 2020
USD ($)
Jun. 30, 2021
USD ($)
Jun. 30, 2020
Dec. 31, 2021
USD ($)
Dec. 31, 2020
USD ($)
Dec. 31, 2019
USD ($)
May 14, 2021
Debt Instrument [Line Items]                              
Unamortized debt issuance costs                       $ 6,965 $ 7,494    
Accumulated amortization of debt issuance costs                       2,482 3,057    
Amortization of deferred debt issuance costs                       $ 1,155 $ 1,139 $ 2,151  
Long-term Debt, Description                       Under the Credit Agreement and with respect to the First Lien Term Loan, the Company had the option of selecting either (i) a Base Rate interest rate plus fixed margin of 2.25% or (ii) a Eurodollar (LIBOR) interest rate for one, two, three or six months plus a fixed margin of 3.25%.      
Debt Instrument, Periodic Payment, Principal       $ 2,000         $ 2,100            
Debt Instrument, Interest Rate, Effective Percentage                       3.10% 3.40%    
Gain (Loss) on Extinguishment of Debt                   $ (1,037)   $ (3,204) $ (1,918) (9,169)  
Proceeds from debt borrowings                       $ 290,000 $ 45,625 1,085,000  
Repayments of Long-term Debt                   190,400          
Expiration date                       May 14, 2026      
Amount Outstanding                       $ 903,301      
Line of Credit Facility, Unused Capacity, Commitment Fee Percentage                       0.25% 0.50%    
Long-term portion of debt, net                       $ 896,336 $ 1,054,820    
Standby Letters of Credit                              
Debt Instrument [Line Items]                              
Letters of Credit Outstanding, Amount                       497 469    
Available Standby Letters Of Credit                       $ 10,000      
Letter Of Credit Expiration                       Any letter of credit issued under the Credit Agreement has an expiration date which is the earlier of (i) no later than 12 months from the date of issuance or (ii) five business days prior to the maturity date of the Revolving Commitment, as amended under Amendment No. 2 to Amended and Restated First Lien Credit Agreement.      
Revolving Credit Facility [Member]                              
Debt Instrument [Line Items]                              
Long-term Debt, Description                       Under the Credit Agreement and with respect to the Revolving Commitment, the Company had the option of selecting either (i) a Base Rate interest rate plus a variable margin of 2.50% to 3.00%, based on the Company’s First Lien Net Debt Leverage Ratio, or (ii) a Eurodollar (LIBOR) interest rate for one, two, three or six months plus a variable margin of 3.50% to 4.00%, based on the Company’s First Lien Net Leverage Ratio.      
Maximum Available Borrowing Capacity                       $ 149,503 74,531    
Line Of Credit Facility Maximum Borrowing Capacity                       149,503 74,531    
Gain (Loss) on Extinguishment of Debt   $ 87                          
Expiration date           May 14, 2024                  
Amount Outstanding                       0 0    
Revolving Commitment                       9,503 9,531    
Delayed Draw Facility                              
Debt Instrument [Line Items]                              
Proceeds from debt borrowings     $ 10,000 $ 30,000                   $ 0  
Delayed draw facility utilized amount           $ 40,000                  
Change In Principal Payment           0.0625                  
First Lien Term Loan                              
Debt Instrument [Line Items]                              
Long-term Debt, Description       The Amended First Lien Credit Agreement changed the interest rate spreads associated with the First Lien Credit Agreement where (i) the variable margin associated with the Base Rate interest rate plus a variable margin based on the Company’s First Lien Net Leverage Ratio changed from 2.25% to 2.50% to 2.00% to 2.25% and (ii) the variable margin associated with the Eurodollar Rate interest rate for one, two, three or six months plus a variable margin based on the Company’s First Lien Net Leverage Ratio changed from 3.25% to 3.50% to 3.00% to 3.25%.                      
Maximum Available Borrowing Capacity             $ 60,000                
Debt Instrument, Periodic Payment, Principal           $ 2,000 1,753                
Line Of Credit Facility Maximum Borrowing Capacity             60,000                
Gain (Loss) on Extinguishment of Debt       $ (1,918)   $ (9,169)           21      
Proceeds from debt borrowings                       285,962      
Expiration date           May 14, 2026                  
Delayed draw ticking fee rate         1.75%     0.00%             3.50%
Amount Outstanding                       $ 903,301 $ 827,600    
Second Lien Credit Agreement [Member]                              
Debt Instrument [Line Items]                              
Line of Credit Facility, Current Borrowing Capacity           $ 225,000                  
Gain (Loss) on Extinguishment of Debt                   2,059          
Proceeds from debt borrowings   $ 6,142 5,906                        
Repayments of Long-term Debt                   242,673          
Expiration date           May 14, 2027                  
Interest payable at rate per annum           10.00%                  
Long-term portion of debt, net     $ 5,625           $ 5,625            
Interest Expense, Debt                   6,050          
Debt Instrument, Interest Rate During Period                     10.50% 10.00%      
Line of Credit | First Lien Term Loan                              
Debt Instrument [Line Items]                              
Revolving Commitment                       $ 150,000      
Minimum                              
Debt Instrument [Line Items]                              
Debt Instrument, Basis Spread on Variable Rate 2.50%         2.00%                  
Minimum | Revolving Credit Facility [Member]                              
Debt Instrument [Line Items]                              
Maximum Available Borrowing Capacity           $ 50,000       75,000          
Line Of Credit Facility Maximum Borrowing Capacity           $ 50,000       75,000          
Minimum | First Lien Term Loan                              
Debt Instrument [Line Items]                              
Debt Instrument, Basis Spread on Variable Rate           2.25%                  
Maximum Available Borrowing Capacity                       290,000      
Line Of Credit Facility Maximum Borrowing Capacity                       290,000      
Line of Credit Facility, Current Borrowing Capacity           $ 131,929 609,667                
Maximum                              
Debt Instrument [Line Items]                              
Debt Instrument, Basis Spread on Variable Rate 3.00%         2.50%                  
Maximum | Revolving Credit Facility [Member]                              
Debt Instrument [Line Items]                              
Maximum Available Borrowing Capacity           $ 75,000       150,000          
Line Of Credit Facility Maximum Borrowing Capacity           $ 75,000       $ 150,000          
Maximum | First Lien Term Loan                              
Debt Instrument [Line Items]                              
Debt Instrument, Basis Spread on Variable Rate           2.50%                  
Maximum Available Borrowing Capacity                       903,301      
Line Of Credit Facility Maximum Borrowing Capacity                       $ 903,301      
Line of Credit Facility, Current Borrowing Capacity           $ 800,000 $ 669,667                
London Interbank Offered Rate (LIBOR)                              
Debt Instrument [Line Items]                              
Debt Instrument, Basis Spread on Variable Rate 2.25%                            
LIBOR Margin                              
Debt Instrument [Line Items]                              
Debt Instrument, Basis Spread on Variable Rate 3.25%                            
Eurodollar | Minimum                              
Debt Instrument [Line Items]                              
Debt Instrument, Basis Spread on Variable Rate 3.50%         3.00%                  
Eurodollar | Minimum | First Lien Term Loan                              
Debt Instrument [Line Items]                              
Debt Instrument, Basis Spread on Variable Rate           3.25%                  
Eurodollar | Maximum                              
Debt Instrument [Line Items]                              
Debt Instrument, Basis Spread on Variable Rate 4.00%         3.50%                  
Eurodollar | Maximum | First Lien Term Loan                              
Debt Instrument [Line Items]                              
Debt Instrument, Basis Spread on Variable Rate           3.50%