Quarterly report pursuant to Section 13 or 15(d)

Debt - Narrative (Details)

v3.20.2
Debt - Narrative (Details)
$ / shares in Units, shares in Millions
1 Months Ended 3 Months Ended 6 Months Ended 12 Months Ended
Jun. 30, 2020
USD ($)
$ / shares
May 22, 2020
USD ($)
day
tradingdays
$ / shares
shares
Sep. 05, 2019
USD ($)
May 23, 2017
USD ($)
$ / shares
shares
May 31, 2017
USD ($)
$ / shares
Jun. 30, 2020
USD ($)
$ / shares
day
Jun. 30, 2019
Jun. 30, 2020
USD ($)
$ / shares
Jun. 30, 2019
USD ($)
Dec. 31, 2024
USD ($)
Dec. 31, 2023
USD ($)
Dec. 31, 2021
USD ($)
Dec. 31, 2019
USD ($)
Line of Credit Facility [Line Items]                          
Line of credit facility, additional borrowing capacity, percentage of consolidated EBITDA 100.00%         100.00%   100.00%          
Minimum percent of available liquidity on outstanding convertible notes 125.00%         125.00%   125.00%          
Covenant, interest coverage ratio 3.00         3.00   3.00          
Borrowings outstanding $ 0         $ 0   $ 0         $ 230,000,000.0
Proceeds from borrowings on convertible notes               345,000,000 $ 0        
Conversion price (in dollars per share) | $ / shares   $ 76.70                      
Percentage of debt held by individual owner   25.00%                      
Convertible notes, net $ 283,122,000         283,122,000   283,122,000         305,188,000
Common stock warrants (in shares) | shares   5.8   8.2                  
Purchase of hedged instruments   $ 39,400,000   $ 62,500,000   $ 39,365,000   $ 39,365,000          
Cap price (in dollars per share) | $ / shares   $ 118.00                      
Proceeds from issuance of warrants       $ 31,500,000                  
Warrants strike price (in dollars per share) | $ / shares       $ 57.58                  
Maximum                          
Line of Credit Facility [Line Items]                          
Senior leverage ratio 3.75         3.75   3.75          
Senior leverage ratio, following certain material acquisitions 4.25         4.25   4.25          
Common stock warrants (in shares) | shares       8.2                  
Revolving Facility                          
Line of Credit Facility [Line Items]                          
Line of credit facility, additional borrowing capacity $ 250,000,000.0         $ 250,000,000.0   $ 250,000,000.0          
Revolving line of credit facility, available borrowing capacity 600,000,000.0         600,000,000.0   600,000,000.0         370,000,000.0
Unamortized debt issuance costs $ 2,400,000         $ 2,400,000   $ 2,400,000         2,700,000
Revolving Facility | Minimum                          
Line of Credit Facility [Line Items]                          
Commitment fee percentage               0.15%          
Revolving Facility | Maximum                          
Line of Credit Facility [Line Items]                          
Net leverage ratio 3.50         3.50   3.50          
Commitment fee percentage               0.35%          
Revolving Facility | LIBOR                          
Line of Credit Facility [Line Items]                          
Basis spread on interest rate               1.00%          
Revolving Facility | LIBOR | Minimum                          
Line of Credit Facility [Line Items]                          
Basis spread on interest rate               1.00%          
Revolving Facility | LIBOR | Maximum                          
Line of Credit Facility [Line Items]                          
Basis spread on interest rate               2.00%          
Revolving Facility | Base Rate | Minimum                          
Line of Credit Facility [Line Items]                          
Basis spread on interest rate               0.00%          
Revolving Facility | Base Rate | Maximum                          
Line of Credit Facility [Line Items]                          
Basis spread on interest rate               1.00%          
Revolving Facility | Federal Funds Rate                          
Line of Credit Facility [Line Items]                          
Basis spread on interest rate               0.50%          
Line of Credit | Revolving Facility                          
Line of Credit Facility [Line Items]                          
Line of credit facility, maximum borrowing capacity     $ 600,000,000.0                    
Line of Credit | Letters of Credit                          
Line of Credit Facility [Line Items]                          
Line of credit facility, maximum borrowing capacity     10,000,000.0                    
Line of Credit | Swingline Loans                          
Line of Credit Facility [Line Items]                          
Line of credit facility, maximum borrowing capacity     20,000,000.0                    
Term Loans                          
Line of Credit Facility [Line Items]                          
Periodic payment     3,800,000                    
Amended Credit Facility                          
Line of Credit Facility [Line Items]                          
Line of credit facility, maximum borrowing capacity     1,200,000,000                    
Initial Term Loan | Term Loans                          
Line of Credit Facility [Line Items]                          
Principal amount     $ 300,000,000.0                    
Delayed Draw Term Loan | Line of Credit | Base Rate | Maximum                          
Line of Credit Facility [Line Items]                          
Net leverage ratio 5.00         5.00   5.00          
Net leverage ratio, following certain material acquisitions 5.50         5.50   5.50          
Delayed Draw Term Loan | Term Loans                          
Line of Credit Facility [Line Items]                          
Principal amount                         300,000,000.0
2025 Convertible Notes                          
Line of Credit Facility [Line Items]                          
Proceeds from borrowings on convertible notes   $ 337,500,000                      
Interest rate   1.50%                      
2025 Convertible Notes | Convertible Senior Notes                          
Line of Credit Facility [Line Items]                          
Principal amount   $ 345,000,000.0                      
Interest rate   1.50%                      
Conversion ratio, convertible notes   13.04                      
Conversion price (in dollars per share) | $ / shares   $ 76.70                      
Threshold trading days | day   20                      
Threshold consecutive trading days | day   30                      
Measurement period threshold trading days | day   5                      
Measurement period threshold consecutive trading days | tradingdays   5                      
Ratio of trading price per $1000 principle amount   98.00%                      
Redemption price (percentage)               100.00%          
Convertible notes, net   $ 288,000,000.0                      
Carrying amount of convertible debt equity component $ 51,821,000 57,000,000.0       $ 51,821,000   $ 51,821,000          
Deferred tax liabilities, equity component of convertible debt   3,900,000                      
Debt issuance costs   $ 7,500,000                      
Convertible debt, carrying amount 283,122,000         $ 283,122,000   $ 283,122,000          
Effective interest rate           5.74%   5.74%          
2025 Convertible Notes | Convertible Senior Notes | Minimum                          
Line of Credit Facility [Line Items]                          
Threshold percentage of stock price trigger   130.00%                      
Over-Allotment Option | Convertible Senior Notes                          
Line of Credit Facility [Line Items]                          
Principal amount   $ 45,000,000.0                      
2022 Convertible Notes                          
Line of Credit Facility [Line Items]                          
Conversion ratio, convertible notes         23.84                
2022 Convertible Notes | Convertible Senior Notes                          
Line of Credit Facility [Line Items]                          
Principal amount         $ 345,000,000.0                
Interest rate         1.50%                
Conversion price (in dollars per share) | $ / shares         $ 41.95                
Threshold consecutive trading days | day           30              
Measurement period threshold trading days | day           20              
Carrying amount of convertible debt equity component 61,390,000         $ 61,390,000   $ 61,390,000         61,390,000
If-converted, value in excess of principal 189,700,000                        
Convertible debt, carrying amount $ 311,638,000         $ 311,638,000   $ 311,638,000         305,188,000
Effective interest rate           5.87% 5.87% 5.87% 5.87%        
2022 Convertible Notes | Convertible Senior Notes | Minimum                          
Line of Credit Facility [Line Items]                          
Threshold percentage of stock price trigger           130.00%              
Scenario, Forecast | Term Loans                          
Line of Credit Facility [Line Items]                          
Periodic payment                   $ 15,000,000.0 $ 11,300,000 $ 7,500,000  
Share Price | 2022 Convertible Notes | Convertible Senior Notes                          
Line of Credit Facility [Line Items]                          
Closing stock price (in dollars per share) | $ / shares 65.01         65.01   65.01          
Level 2 | Term Loans                          
Line of Credit Facility [Line Items]                          
Long-term debt fair value $ 544,600,000         $ 544,600,000   $ 544,600,000         582,700,000
Level 2 | Convertible Senior Notes                          
Line of Credit Facility [Line Items]                          
Convertible debt fair value $ 941,300,000         $ 941,300,000   $ 941,300,000         $ 486,700,000