v3.22.0.1
DEBT - Narrative (Details)
$ / shares in Units, $ in Thousands
1 Months Ended 12 Months Ended
Sep. 17, 2019
USD ($)
Dec. 31, 2021
USD ($)
day
shares
$ / shares
Jan. 31, 2018
shares
$ / shares
Dec. 31, 2021
USD ($)
day
$ / shares
Dec. 31, 2020
USD ($)
Dec. 31, 2019
USD ($)
Apr. 20, 2021
USD ($)
Line of Credit Facility [Line Items]              
Debt discount   $ 64,245   $ 64,245 $ 16,072    
Debt issuance costs, gross   9,267   9,267 5,087    
Proceeds from convertible notes offering       258,750 0 $ 0  
Deferred financing costs   624   624 434    
Total long-term debt   1,360,625   1,360,625 840,000    
Letters of credit outstanding   $ 5,400   5,400      
Interest paid       $ 45,000 36,100 $ 22,100  
1.75% convertible notes due 2028              
Line of Credit Facility [Line Items]              
Stated interest rate   0.0175%   0.0175%      
Number of equity instruments (in shares) | shares     2,584,578        
Total long-term debt   $ 258,750   $ 258,750 0    
7.50% Senior Notes due 2027              
Line of Credit Facility [Line Items]              
Redemption price, percent 100.00%            
4.75% senior notes due 2029              
Line of Credit Facility [Line Items]              
Stated interest rate   0.0475%   0.0475%      
Total long-term debt   $ 350,000   $ 350,000 0    
7.50% senior notes due 2027              
Line of Credit Facility [Line Items]              
Stated interest rate   0.075%   0.075%      
1.00% convertible notes due 2023              
Line of Credit Facility [Line Items]              
Stated interest rate   0.01%   0.01%      
Number of equity instruments (in shares) | shares     1,962,790        
Revolving Credit Facility | 2021 Credit Facility              
Line of Credit Facility [Line Items]              
Commitment fee rate       0.20%      
Convertible Debt              
Line of Credit Facility [Line Items]              
Total long-term debt         $ 172,500    
Convertible Debt | 1.75% convertible notes due 2028              
Line of Credit Facility [Line Items]              
Stated interest rate   1.75%   1.75%      
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      
Debt instrument, effective interest rate   4.97%   4.97% 4.97%    
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      
Convertible Debt | 2021 Credit Facility              
Line of Credit Facility [Line Items]              
Stated interest rate   1.00%   1.00%      
Convertible Debt | 1.00% convertible notes due 2023              
Line of Credit Facility [Line Items]              
Stated interest rate   1.00%   1.00%      
Convertible debt face amount   $ 172,500   $ 172,500      
Debt discount   36,200   36,200      
Unamortized debt discount, difference In aggregate face amount and future cash flows   31,900   31,900      
Debt issuance costs, gross   $ 4,300   $ 4,300      
Debt instrument, effective interest rate   5.25%   5.25% 5.25%    
Proceeds from convertible notes offering       $ 167,500      
Convertible debt conversion ratio     0.0113785        
Number of equity instruments (in shares) | shares     1,962,790        
Total long-term debt   $ 172,500   $ 172,500      
Convertible debt conversion price (in USD per share) | $ / shares     $ 87.89        
Convertible Debt | 1.00% convertible notes due 2023              
Line of Credit Facility [Line Items]              
Stated interest rate   1.00%   1.00%      
Senior Notes | 1.75% convertible notes due 2028              
Line of Credit Facility [Line Items]              
Stated interest rate   1.75%   1.75%      
Convertible debt face amount   $ 258,750   $ 258,750      
Senior Notes | 7.50% Senior Notes due 2027              
Line of Credit Facility [Line Items]              
Stated interest rate 7.50%            
Debt issuance costs, gross $ 5,800            
Debt instrument, effective interest rate 7.82%            
Redemption price, percent 107.50%            
Debt redemption, change of control 101.00%     101.00%      
Senior Notes | 4.75% senior notes due 2029              
Line of Credit Facility [Line Items]              
Stated interest rate   4.75%   4.75%      
Convertible debt face amount             $ 350,000
Debt instrument, effective interest rate   4.97%   4.97%      
Deferred financing costs             $ 5,100
Senior Notes | 7.50% senior notes due 2027              
Line of Credit Facility [Line Items]              
Aggregate principal $ 300,000            
Total long-term debt   $ 300,000   $ 300,000 $ 300,000    
Term Loan Due 2021 | 2021 Credit Facility              
Line of Credit Facility [Line Items]              
Convertible debt face amount   150,000   150,000      
Increase (decrease) in borrowing capacity       250,000      
Total long-term debt   144,400   144,400      
Term Loan Due 2021 | 2021 Credit Facility | June 30, 2021, through and including March 31, 2024              
Line of Credit Facility [Line Items]              
Required periodic payment       1,875      
Term Loan Due 2021 | 2021 Credit Facility | June 30, 2024 and thereafter              
Line of Credit Facility [Line Items]              
Required periodic payment       3,750      
Line of Credit              
Line of Credit Facility [Line Items]              
Total long-term debt   $ 135,000   $ 135,000 275,000    
Line of Credit | Revolving Credit Facility | 2021 Credit Facility              
Line of Credit Facility [Line Items]              
Ratio of indebtedness to net capital   2.75   2.75      
Consolidated fixed charge coverage ratio, actual       150.00%      
Minimum liquidity requirement, period       6 months      
Maximum borrowing capacity   $ 550,000   $ 550,000      
Total long-term debt   $ 135,000   $ 135,000      
Line of Credit | Revolving Credit Facility | 2021 Credit Facility | Acquired Entities              
Line of Credit Facility [Line Items]              
Ratio of indebtedness to net capital   3.25   3.25      
Line of Credit | Revolving Credit Facility | 2019 Credit Facility              
Line of Credit Facility [Line Items]              
Maximum borrowing capacity 550,000            
Term Loan              
Line of Credit Facility [Line Items]              
Total long-term debt   $ 144,375   $ 144,375 $ 92,500    
Term Loan | 2021 Credit Facility              
Line of Credit Facility [Line Items]              
Convertible debt face amount   $ 150,000   $ 150,000      
Term Loan | 2019 Credit Facility              
Line of Credit Facility [Line Items]              
Convertible debt face amount $ 100,000            
London Interbank Offered Rate (LIBOR) | Revolving Credit Facility | 2021 Credit Facility              
Line of Credit Facility [Line Items]              
Debt instrument, effective interest rate   1.63%   1.63%      
Debt instrument, basis spread on variable rate       1.50%      
Redemption period one | 4.75% senior notes due 2029              
Line of Credit Facility [Line Items]              
Redemption price, percent       100.00%      
Redemption period one | Convertible Debt | 1.75% convertible notes due 2028              
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%          
Redemption period one | Convertible Debt | 1.00% convertible notes due 2023              
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%      
Redemption period one | Senior Notes | 4.75% senior notes due 2029              
Line of Credit Facility [Line Items]              
Redemption price, percent       104.75%      
Redemption period two | Convertible Debt | 1.75% convertible notes due 2028              
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%          
Redemption period two | Convertible Debt | 1.00% convertible notes due 2023              
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%      
Maximum | 2021 Credit Facility              
Line of Credit Facility [Line Items]              
Commitment fee rate       0.225%      
Maximum | Senior Notes | 7.50% Senior Notes due 2027              
Line of Credit Facility [Line Items]              
Redemption price, percent 40.00%            
Maximum | Prime Rate | 2021 Credit Facility              
Line of Credit Facility [Line Items]              
Debt instrument, basis spread on variable rate       0.75%      
Maximum | London Interbank Offered Rate (LIBOR) | 2021 Credit Facility              
Line of Credit Facility [Line Items]              
Debt instrument, basis spread on variable rate       1.75%      
Minimum | 2021 Credit Facility              
Line of Credit Facility [Line Items]              
Commitment fee rate       0.15%      
Minimum | Prime Rate | 2021 Credit Facility              
Line of Credit Facility [Line Items]              
Debt instrument, basis spread on variable rate       0.00%      
Minimum | London Interbank Offered Rate (LIBOR) | 2021 Credit Facility              
Line of Credit Facility [Line Items]              
Debt instrument, basis spread on variable rate       1.00%