v3.26.1
Stockholder's Equity - Schedule of Share Repurchase Program (Details) - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Shares repurchased (in shares) 13,688    
Total amount repurchased $ 567,267 $ 437,655 $ 211,902
January 2023 Share Repurchase Program      
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Shares repurchased (in shares)     2,883
Total amount repurchased     $ 211,885
Average price paid per share (in dollars per share)     $ 73.49
Available for future share repurchases     $ 0
August 2024 Share Repurchase Program      
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Shares repurchased (in shares) 1,392 4,487  
Total amount repurchased $ 65,454 $ 236,725  
Average price paid per share (in dollars per share) $ 47.02 $ 52.76  
Available for future share repurchases $ 0 $ 0  
August 2025 Share Repurchase Program      
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Shares repurchased (in shares) 3,862    
Total amount repurchased $ 201,340    
Average price paid per share (in dollars per share) $ 52.13    
Available for future share repurchases $ 0    
2026 Share Repurchase Authorization      
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Shares repurchased (in shares) 8,434    
Total amount repurchased $ 300,473    
Average price paid per share (in dollars per share) $ 35.63    
Available for future share repurchases $ 702,170