v3.26.1
Debt - Convertible Notes (Details)
3 Months Ended 9 Months Ended
Jan. 23, 2024
USD ($)
day
$ / shares
May 30, 2026
USD ($)
May 31, 2025
USD ($)
May 30, 2026
USD ($)
May 31, 2025
USD ($)
Aug. 30, 2025
USD ($)
Debt Instrument [Line Items]            
Offering-related costs   $ 7,100,000   $ 7,100,000   $ 9,500,000
Interest expense, net   5,000,000.0 $ 6,700,000 16,300,000 $ 19,300,000  
2030 Convertible Notes            
Debt Instrument [Line Items]            
Debt amount $ 350,000,000.0          
Interest rate, stated percentage 3.25%          
Proceeds from issuance of notes $ 339,800,000          
Conversion rate (in shares) 0.0113724          
Conversion price (in dollars per share) | $ / shares $ 87.93          
2030 Convertible Notes | Debt Conversion Terms One            
Debt Instrument [Line Items]            
Percentage of the conversion price 130.00%          
Number of trading days | day 20          
Number of consecutive trading days | day 30          
Number of trading days to be redeemable | day 40          
2030 Convertible Notes | Debt Conversion Terms Two            
Debt Instrument [Line Items]            
Percentage of the conversion price 98.00%          
Number of trading days | day 5          
Number of consecutive trading days | day 5          
2030 Convertible Notes | Call Spread Transactions            
Debt Instrument [Line Items]            
Offering-related costs   $ 10,200,000   $ 10,200,000    
Debt instrument, interest rate, effective percentage   3.80%   3.80%    
Interest expense, net   $ 3,300,000 $ 3,200,000 $ 9,800,000 $ 9,700,000  
Net cost incurred transaction, amount       $ 20,600,000