v3.25.0.1
Debt - Convertible Notes and the Indenture (Details)
1 Months Ended 6 Months Ended
May 31, 2024
USD ($)
period
$ / shares
Feb. 28, 2021
USD ($)
period
$ / shares
Dec. 31, 2024
period
Jun. 30, 2024
5.50% Convertible Senior Notes due 2029 | Convertible senior notes        
Line of Credit Facility [Line Items]        
Principal amount $ 350,000,000.0      
Convertible debt, stated interest rate 5.50%   5.50% 5.50%
Value of shares available for exercise $ 50,000,000.0      
Proceeds from issuance of convertible notes, net of issuance costs 342,300,000      
Purchasers' discounts and commissions $ 7,700,000      
Debt instrument, leverage ratio 0.218436      
Debt instrument, conversion price (in dollars per share) | $ / shares $ 4.58      
Redemption price percentage 100.00%      
Effective interest rate     5.97%  
5.50% Convertible Senior Notes due 2029 | Convertible senior notes | Debt Conversion Terms One        
Line of Credit Facility [Line Items]        
Threshold percentage of stock price trigger 130.00%   130.00%  
Threshold of trading days | period 20   20  
Threshold of consecutive trading days | period 30   30  
0.00% Convertible Senior Notes due 2026        
Line of Credit Facility [Line Items]        
Convertible debt, stated interest rate   0.00%    
0.00% Convertible Senior Notes due 2026 | Convertible senior notes        
Line of Credit Facility [Line Items]        
Principal amount   $ 1,000,000,000.0    
Convertible debt, stated interest rate     0.00% 0.00%
Value of shares available for exercise   $ 125,000,000.0    
Proceeds from issuance of convertible notes, net of issuance costs $ 801,000,000      
Debt instrument, leverage ratio   0.00418    
Debt instrument, conversion price (in dollars per share) | $ / shares   $ 239.23    
Redemption price percentage   100.00%    
Effective interest rate     0.45%  
Debt instrument aggregate cash 724,900,000      
Debt extinguishment 69,800,000      
Net gain on debt refinancing $ 6,300,000      
0.00% Convertible Senior Notes due 2026 | Convertible senior notes | Debt Conversion Terms One        
Line of Credit Facility [Line Items]        
Threshold percentage of stock price trigger   130.00%    
Threshold of trading days | period   20    
Threshold of consecutive trading days | period   30