v3.26.1
Stock-Based Compensation - Narratives (Details)
$ / shares in Units, $ in Millions
12 Months Ended
Jun. 30, 2026
USD ($)
installment
$ / shares
shares
Jun. 30, 2025
USD ($)
$ / shares
Jun. 30, 2024
USD ($)
$ / shares
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Number of installments | installment 4    
PRSUs      
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Weighted-average fair value of RSUs granted (in dollars per shares) | $ / shares $ 515.42 $ 505.62 $ 314.54
Total intrinsic value of RSUs that vested | $ $ 39.6 $ 43.7 $ 26.9
Unrecognized compensation cost | $ $ 19.7    
Weighted-average period to recognize unrecognized compensation cost (in years) 1 year    
PRSUs | Minimum      
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Share-based compensation arrangement by share-based payment award, specified target shares issued (in percent) 0.00%    
PRSUs | Maximum      
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Share-based compensation arrangement by share-based payment award, specified target shares issued (in percent) 200.00%    
RSUs      
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Weighted-average fair value of RSUs granted (in dollars per shares) | $ / shares $ 516.47 $ 496.46 $ 318.15
Total intrinsic value of RSUs that vested | $ $ 49.2 $ 56.8 $ 31.6
Unrecognized compensation cost | $ $ 34.8    
Weighted-average period to recognize unrecognized compensation cost (in years) 1 year 7 months 6 days    
2025 Plan      
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Number of shares authorized for grants (in shares) 2,400,000    
Cumulative equity instruments awarded (in shares) 800,000    
Vesting period (in years) 3 years    
Share-based compensation arrangement by share-based payment award, purchase price of common stock (in percent) 95.00%    
2025 Plan | PRSUs      
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Share-based compensation arrangement by share-based payment award, specified target shares issued (in percent) 200.00%    
Discount percentage 100.00%    
Discount recognition period 3 years    
DSPP Plan      
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Number of shares authorized for grants (in shares) 100,000    
DSPP Plan | RSUs      
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Share-based compensation arrangement by share-based payment award, purchase price of common stock (in percent) 100.00%    
ESPP Plan      
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Number of shares authorized for grants (in shares) 1,500,000    
MSPP Plan      
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Number of shares authorized for grants (in shares) 500,000