v3.25.2
Stockholders' Equity - Narrative (Details)
$ / shares in Units, $ in Thousands
1 Months Ended 12 Months Ended
Oct. 31, 2017
USD ($)
Nov. 30, 2017
USD ($)
shares
Jun. 30, 2025
USD ($)
offering
$ / shares
shares
Jun. 30, 2024
USD ($)
$ / shares
shares
Jun. 30, 2023
USD ($)
shares
Feb. 21, 2014
shares
Apr. 30, 1997
$ / shares
shares
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]              
Shares authorized to be repurchased under repurchase program (in shares) | shares           20,000,000.0  
Treasury stock acquired (in shares) | shares     1,262,000 828,000      
Cost of common shares repurchased | $     $ 300,025 $ 150,011      
Total number of shares repurchased pursuant to the repurchase program (in shares) | shares     43,925,747 42,664,067      
Treasury stock, common, value | $     $ 2,073,292 $ 1,773,267      
Additional shares that can be repurchased under the approved share repurchase program (in shares) | shares     10,800,000        
Preferred stock, shares authorized (in shares) | shares     2,000,000 2,000,000     2,000,000.0
Preferred stock at par value (in dollars per share) | $ / shares     $ 0.01 $ 0.01     $ 0.01
Preferred stock, shares issued (in shares) | shares     0 0      
Preferred stock, shares outstanding (in shares) | shares     0        
Expiration period     7 years        
Reduction in the number of shares of common stock available for issuance (in shares)     2.8        
Number of shares given for each share of common stock delivered in settlement of all other awards (in shares) | shares     1        
Maximum number of shares subject to awards granted (in shares) | shares     3,000,000        
Number of common stock shares granted in participant's initial year of hiring (in shares) | shares     4,500,000        
Aggregate intrinsic value of the options exercised | $     $ 37,700 $ 17,900 $ 25,400    
Aggregate intrinsic value of the stock-based compensation arrangements outstanding | $     42,800        
Aggregate intrinsic value of the stock-based compensation arrangements exercisable | $     36,800        
Aggregate intrinsic value of the stock-based compensation arrangements exercisable, vested and expected to vest | $     $ 42,500        
Shares issued under Employee Stock Purchase Plan (in shares) | shares     226,000 323,000 220,000    
Stock-based compensation expense | $     $ 91,661 $ 80,184 $ 71,142    
Unrecognized compensation costs related to unvested stock-based compensation arrangements | $     $ 163,800        
Expected weighted average period of unrecognized compensation costs related to unvested stock-based compensation arrangements     2 years 6 months        
2009 Plan              
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]              
Common stock authorized for issuance and pending registration (in shares) | shares   7,400,000          
Extended period   4 years          
Common stock authorized for issuance (in shares) | shares     51,100,000        
Common stock reserved for future issuance (in shares) | shares     11,900,000        
Amended and Restated 2009 Plan              
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]              
Maximum amount payable pursuant to cash denominated performance awards granted | $ $ 3,000 $ 5,000          
Amended and Restated 2009 Plan | Non Employee Director              
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]              
Maximum award amount with other cash fees earned for services | $   700          
Amended and Restated 2009 Plan | Board of Directors Chairman              
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]              
Maximum award amount with other cash fees earned for services | $   $ 1,200          
Employee Stock Purchase Plan              
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]              
Common stock reserved for future issuance (in shares) | shares     800,000        
Percentage of purchase price of common stock lower than the fair market value of common stock on the date of grant     85.00%        
Percentage of purchase price of common stock lower than the fair market value of common stock on the date of purchase     85.00%        
Number of offerings | offering     2        
Stock-based compensation expense | $     $ 11,800 11,400 11,500    
Restricted ‎Stock ‎Units              
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]              
Fair value of RSUs and PRSUs | $     $ 45,300 38,000 28,700    
Performance Restricted Stock Units              
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]              
Vesting period     3 years        
Fair value of RSUs and PRSUs | $     $ 10,300 $ 13,000 $ 38,100    
Minimum              
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]              
Vesting period     1 year        
Minimum | Employee Stock Purchase Plan              
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]              
Employee stock purchase program offering period     3 months        
Minimum | Performance Restricted Stock Units              
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]              
Vesting percentage     200.00%        
Maximum              
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]              
Vesting period     4 years        
Maximum | Employee Stock Purchase Plan              
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]              
Employee stock purchase program offering period     27 months        
Common stock shares subscribed | $     $ 25        
Maximum | Performance Restricted Stock Units              
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]              
Vesting percentage     225.00%