v3.25.1
Debt - Narrative (Details)
1 Months Ended 3 Months Ended 9 Months Ended
Mar. 31, 2025
USD ($)
shares
Dec. 31, 2024
USD ($)
Oct. 31, 2024
USD ($)
day
$ / shares
Mar. 31, 2018
USD ($)
$ / shares
Apr. 30, 2025
USD ($)
shares
Oct. 31, 2024
USD ($)
$ / shares
Apr. 30, 2025
USD ($)
Apr. 30, 2024
USD ($)
Debt Instrument [Line Items]                
Retirement of convertible senior notes           $ 79,366,000    
Loss on retirement of debt             $ 53,565,000 $ 0
Net proceeds             671,840,000 $ 0
Common stock                
Debt Instrument [Line Items]                
Settlement of convertible senior notes | shares 671,202       671,202      
2025 Convertible Senior Notes | Convertible Debt                
Debt Instrument [Line Items]                
Aggregate principal amount       $ 400,000,000.0        
Stated interest rate       1.25%        
Conversion ratio       0.0087912        
Conversion price (in usd per share) | $ / shares       $ 113.75        
Repurchased principal amount   $ 100,000,000 $ 120,900,000   $ 220,900,000 120,900,000 220,900,000  
Payment or retirement of debt issuance costs   100,000 200,000          
Payment of accrued interest, debt $ 1,100,000 300,000 100,000       500,000  
Convertible debt inducement expense     300,000          
Retirement of convertible senior notes     79,400,000          
Loss on retirement of debt   53,300,000            
Payment for the maturity of convertible senior notes 179,100,000              
Repayments of convertible debt $ 180,200,000 $ 153,500,000 200,500,000          
2029 Convertible Senior Notes | Convertible Debt                
Debt Instrument [Line Items]                
If-converted value in excess of principal             0  
Aggregate principal amount     $ 690,000,000.0   $ 690,000,000 $ 690,000,000.0 $ 690,000,000  
Stated interest rate     1.25%     1.25%    
Conversion ratio     0.0040875          
Conversion price (in usd per share) | $ / shares     $ 244.65     $ 244.65    
Net proceeds     $ 671,800,000          
Redemption price percentage     100.00%          
Threshold percentage of stock price trigger     130.00%          
Threshold trading days | day     20          
Threshold consecutive trading days | day     30