v3.22.4
DEBT - Narrative (Details)
$ / shares in Units, $ in Thousands
1 Months Ended 12 Months Ended
Aug. 11, 2022
USD ($)
Aug. 11, 2021
USD ($)
Dec. 31, 2021
USD ($)
shares
day
$ / shares
Apr. 30, 2021
Sep. 30, 2019
USD ($)
Jan. 31, 2018
USD ($)
day
shares
$ / shares
Dec. 31, 2022
USD ($)
Dec. 31, 2021
USD ($)
$ / shares
Dec. 31, 2020
USD ($)
Aug. 10, 2022
USD ($)
Apr. 20, 2021
USD ($)
Line of Credit Facility [Line Items]                      
Period preceding maturity   6 months                  
Total long-term debt     $ 1,360,625       $ 1,298,414 $ 1,360,625      
Debt discount     64,245       5,989 64,245      
Debt issuance costs, gross     9,267       8,075 9,267      
Proceeds from convertible notes offering             0 258,750 $ 0    
Deferred financing costs     624       701 624      
Letters of credit outstanding             7,100        
Interest paid             56,900 45,000 $ 36,100    
Line of Credit                      
Line of Credit Facility [Line Items]                      
Total long-term debt     135,000       $ 80,289 135,000      
Revolving Credit Facility | SOFR                      
Line of Credit Facility [Line Items]                      
Debt instrument, basis spread on variable rate             1.25%        
Debt instrument, effective interest rate             5.55%        
2021 Credit Facility                      
Line of Credit Facility [Line Items]                      
Maximum borrowing capacity $ 925,000                 $ 700,000  
2021 Credit Facility | Convertible Debt                      
Line of Credit Facility [Line Items]                      
Stated interest rate 1.00%                    
2021 Credit Facility | Term Loan Due 2021                      
Line of Credit Facility [Line Items]                      
Total long-term debt             $ 136,900        
Convertible debt face amount             $ 150,000        
2021 Credit Facility | Minimum                      
Line of Credit Facility [Line Items]                      
Commitment fee rate 0.15%                    
2021 Credit Facility | Minimum | Prime Rate                      
Line of Credit Facility [Line Items]                      
Debt instrument, basis spread on variable rate 0.00%                    
2021 Credit Facility | Minimum | SOFR                      
Line of Credit Facility [Line Items]                      
Debt instrument, basis spread on variable rate 1.00%                    
2021 Credit Facility | Maximum                      
Line of Credit Facility [Line Items]                      
Commitment fee rate 0.225%                    
2021 Credit Facility | Maximum | Prime Rate                      
Line of Credit Facility [Line Items]                      
Debt instrument, basis spread on variable rate 0.75%                    
2021 Credit Facility | Maximum | SOFR                      
Line of Credit Facility [Line Items]                      
Debt instrument, basis spread on variable rate 1.75%                    
2021 Credit Facility | Revolving Credit Facility                      
Line of Credit Facility [Line Items]                      
Maximum borrowing capacity $ 775,000                    
Commitment fee rate             0.18%        
2021 Credit Facility | Revolving Credit Facility | Line of Credit                      
Line of Credit Facility [Line Items]                      
Maximum borrowing capacity             $ 775,000        
Ratio of indebtedness to net capital 2.75                    
Consolidated fixed charge coverage ratio, actual   150.00%                  
Total long-term debt             $ 80,300        
2021 Credit Facility | Revolving Credit Facility | Line of Credit | Acquired Entities                      
Line of Credit Facility [Line Items]                      
Ratio of indebtedness to net capital 3.25                    
2021 Credit Facility | Term Loan Due 2027                      
Line of Credit Facility [Line Items]                      
Maximum borrowing capacity $ 150,000                    
2021 Credit Facility | Term Loan Facility                      
Line of Credit Facility [Line Items]                      
Write-off of deferred financing costs   $ 300                  
2021 Credit Facility | Term Loan Facility | June 30, 2021, through and including March 31, 2024                      
Line of Credit Facility [Line Items]                      
Required periodic payment 1,875                    
2021 Credit Facility | Term Loan Facility | June 30, 2024 and thereafter                      
Line of Credit Facility [Line Items]                      
Required periodic payment 3,750                    
Convertible Notes Due 2023, 1.0 Percent | Convertible Debt                      
Line of Credit Facility [Line Items]                      
Total long-term debt $ 202,500                    
1.75% convertible notes due 2028                      
Line of Credit Facility [Line Items]                      
Stated interest rate             0.0175%        
Total long-term debt     $ 258,750       $ 258,750 $ 258,750      
Number of equity instruments (in shares) | shares     2,584,578                
1.75% convertible notes due 2028 | Convertible Debt                      
Line of Credit Facility [Line Items]                      
Stated interest rate     1.75%         1.75%      
Debt instrument, effective interest rate             2.14%        
Debt discount     $ 56,100         $ 56,100      
Unamortized debt discount, difference In aggregate face amount and future cash flows     48,800         48,800      
Debt issuance costs, gross     7,300         $ 7,300      
Proceeds from convertible notes offering     $ 249,700                
Convertible debt conversion ratio     0.0099887                
Number of equity instruments (in shares) | shares     2,584,578                
Convertible debt conversion price (in USD per share) | $ / shares     $ 100.11         $ 100.11      
1.75% convertible notes due 2028 | Convertible Debt | Redemption Period One                      
Line of Credit Facility [Line Items]                      
Threshold of trading days | day     20                
Threshold of consecutive trading days | day     30                
Threshold percentage of stock price trigger     130.00%                
1.75% convertible notes due 2028 | Convertible Debt | Redemption Period Two                      
Line of Credit Facility [Line Items]                      
Threshold of trading days | day     5                
Threshold of consecutive trading days | day     5                
Threshold percentage of stock price trigger     98.00%                
1.75% convertible notes due 2028 | Senior Notes                      
Line of Credit Facility [Line Items]                      
Stated interest rate     1.75%         1.75%      
Convertible debt face amount     $ 258,750         $ 258,750      
4.75% senior notes due 2029                      
Line of Credit Facility [Line Items]                      
Stated interest rate             0.0475%        
Total long-term debt     350,000       $ 350,000 350,000      
4.75% senior notes due 2029 | Redemption Period One                      
Line of Credit Facility [Line Items]                      
Redemption price, percent       100.00%              
4.75% senior notes due 2029 | Senior Notes                      
Line of Credit Facility [Line Items]                      
Stated interest rate                     4.75%
Convertible debt face amount                     $ 350,000
Debt instrument, effective interest rate                     4.97%
Deferred financing costs                     $ 5,100
Debt redemption, change of control       101.00%              
4.75% senior notes due 2029 | Senior Notes | Redemption Period One                      
Line of Credit Facility [Line Items]                      
Redemption price, percent       104.75%              
4.75% senior notes due 2029 | Maximum | Senior Notes                      
Line of Credit Facility [Line Items]                      
Redemption price, percent       40.00%              
7.50% senior notes due 2027                      
Line of Credit Facility [Line Items]                      
Redemption price, percent         100.00%            
7.50% senior notes due 2027 | Senior Notes                      
Line of Credit Facility [Line Items]                      
Stated interest rate         7.50%            
Debt instrument, effective interest rate         7.82%            
Debt issuance costs, gross         $ 5,800            
Debt redemption, change of control         101.00%            
Redemption price, percent         107.50%            
Aggregate principal         $ 300,000            
7.50% senior notes due 2027 | Maximum | Senior Notes                      
Line of Credit Facility [Line Items]                      
Redemption price, percent         40.00%            
1.00% convertible notes due 2023                      
Line of Credit Facility [Line Items]                      
Stated interest rate           1.00% 0.01%        
Number of equity instruments (in shares) | shares           1,962,790          
1.00% convertible notes due 2023 | Convertible Debt                      
Line of Credit Facility [Line Items]                      
Stated interest rate           1.00%          
Total long-term debt     $ 172,500       $ 172,500 $ 172,500      
Convertible debt face amount           $ 172,500          
Debt instrument, effective interest rate             1.50%        
Debt discount           36,200          
Unamortized debt discount, difference In aggregate face amount and future cash flows           31,900          
Debt issuance costs, gross           4,300          
Proceeds from convertible notes offering           $ 167,500          
Convertible debt conversion ratio           0.0113785          
Number of equity instruments (in shares) | shares           1,962,790          
Convertible debt conversion price (in USD per share) | $ / shares           $ 87.89          
1.00% convertible notes due 2023 | Convertible Debt | Redemption Period One                      
Line of Credit Facility [Line Items]                      
Threshold of trading days | day           20          
Threshold of consecutive trading days | day           30          
Threshold percentage of stock price trigger           130.00%          
1.00% convertible notes due 2023 | Convertible Debt | Redemption Period Two                      
Line of Credit Facility [Line Items]                      
Threshold of trading days | day           5          
Threshold of consecutive trading days | day           5          
Threshold percentage of stock price trigger           98.00%