Quarterly report pursuant to Section 13 or 15(d)

Debt - Narrative (Details)

v3.19.3
Debt - Narrative (Details)
$ / shares in Units, shares in Millions
3 Months Ended 9 Months Ended
Dec. 31, 2023
Dec. 31, 2022
Dec. 31, 2020
Sep. 30, 2019
USD ($)
$ / shares
Sep. 05, 2019
USD ($)
May 23, 2017
USD ($)
$ / shares
shares
Jun. 30, 2019
day
Sep. 30, 2019
USD ($)
$ / shares
day
Dec. 31, 2018
USD ($)
Sep. 30, 2018
Line of Credit Facility [Line Items]                    
Ratio of indebtedness       3.75       3.75    
Covenant, interest coverage ratio       3.00       3.00    
Debt issuance costs       $ 3,600,000       $ 3,600,000    
Convertible notes, net       0       0 $ 292,843,000  
Common stock warrants (in shares) | shares           8.2        
Purchases of convertible note hedges           $ 62,500,000        
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]                    
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    
Debt issuance costs       1,800,000       1,800,000    
Revolving line of credit facility, available borrowing capacity       600,000,000.0       600,000,000.0 350,000,000.0  
Unamortized debt issuance costs       $ 3,700,000       $ 3,700,000 1,300,000  
Revolving Facility | Minimum                    
Line of Credit Facility [Line Items]                    
Commitment fee percentage               0.15%    
Revolving Facility | Maximum                    
Line of Credit Facility [Line Items]                    
Ratio of indebtedness       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]                    
Unamortized discount       $ 500,000       $ 500,000    
Convertible Senior Notes                    
Line of Credit Facility [Line Items]                    
Proceeds from borrowings on convertible notes           $ 304,200,000        
Initial Term Loan | Term Loans                    
Line of Credit Facility [Line Items]                    
Principal amount         300,000,000.0          
Delayed Draw Term Loan | Minimum                    
Line of Credit Facility [Line Items]                    
Commitment fee percentage               0.15%    
Delayed Draw Term Loan | Maximum                    
Line of Credit Facility [Line Items]                    
Commitment fee percentage               0.35%    
Delayed Draw Term Loan | Line of Credit | Base Rate                    
Line of Credit Facility [Line Items]                    
Ratio of indebtedness       5.00       5.00    
Delayed Draw Term Loan | Term Loans                    
Line of Credit Facility [Line Items]                    
Principal amount         $ 300,000,000.0          
Periodic principal payment         0.00625          
Unamortized discount                 498,000  
Convertible Senior Notes Due November 2022 | Convertible Senior Notes                    
Line of Credit Facility [Line Items]                    
Principal amount       $ 344,995,000   345,000,000.0   $ 344,995,000 345,000,000  
Debt issuance costs           $ 9,800,000        
Unamortized discount       38,085,000       $ 38,085,000 46,235,000  
Interest rate stated percentage           1.50%        
Conversion rate, convertible notes               0.02384    
Conversion price (in dollars per share) | $ / shares           $ 41.95        
Long-term debt fair value       172,000,000.0            
Threshold trading days | day             20 20    
Threshold consecutive trading days | day             30 30    
Measurement period threshold trading days | day               5    
Measurement period threshold consecutive trading days | day               5    
Redemption price (percentage)               100.00%    
Convertible notes, net           $ 282,500,000        
Carrying amount of convertible debt equity component       $ 61,390,000   62,500,000   $ 61,390,000 61,390,000  
Effective interest rate of the liability component       5.87%       5.87%   5.87%
Convertible Senior Notes Due November 2022 | Convertible Senior Notes | Minimum                    
Line of Credit Facility [Line Items]                    
Threshold percentage of stock price trigger             130.00% 130.00%    
Ratio of trading price per $1000 principle amount               98.00%    
Percentage of debt held by individual owner               25.00%    
Over-Allotment Option | Convertible Senior Notes                    
Line of Credit Facility [Line Items]                    
Principal amount           $ 45,000,000.0        
Scenario, Forecast | Delayed Draw Term Loan                    
Line of Credit Facility [Line Items]                    
Periodic payment 0.0250 0.01875 0.0125              
Share Price | Convertible Senior Notes Due November 2022 | Convertible Senior Notes                    
Line of Credit Facility [Line Items]                    
Closing stock price (in dollars per share) | $ / shares       62.86       62.86    
Non recurring | Carrying Value                    
Line of Credit Facility [Line Items]                    
Convertible debt fair value       $ 302,000,000.0       $ 302,000,000.0    
Level 2 | Term Loans                    
Line of Credit Facility [Line Items]                    
Long-term debt fair value       286,000,000.0       286,000,000.0 298,900,000  
Level 2 | Convertible Senior Notes                    
Line of Credit Facility [Line Items]                    
Convertible debt fair value       553,300,000       553,300,000 $ 441,400,000  
Other assets | Delayed Draw Term Loan                    
Line of Credit Facility [Line Items]                    
Debt issuance costs       900,000       900,000    
Interest expense                    
Line of Credit Facility [Line Items]                    
Debt issuance costs       $ 400,000       $ 400,000