v3.26.1
Stockholders' Equity - Narrative (Details)
$ / shares in Units, $ in Thousands
1 Months Ended 12 Months Ended
Nov. 30, 2025
USD ($)
shares
Jun. 30, 2026
USD ($)
offering
$ / shares
shares
Jun. 30, 2025
USD ($)
$ / shares
shares
Jun. 30, 2024
USD ($)
shares
Jun. 30, 2023
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)           20,000,000  
Treasury stock acquired (in shares)   2,900,000 1,300,000        
Treasury stock purchases | $   $ 705,299 $ 300,025 $ 150,011      
Total number of shares repurchased pursuant to the repurchase program (in shares)   46,798,043 43,925,747        
Treasury stock, common, value | $   $ 2,778,591 $ 2,073,292        
Additional shares that can be repurchased under the approved share repurchase program (in shares)   7,900,000          
Preferred stock, shares authorized (in shares)   2,000,000 2,000,000       2,000,000
Preferred stock at par value (in dollars per share) | $ / shares   $ 0.01 $ 0.01       $ 0.01
Preferred stock, shares outstanding (in shares)   0          
Preferred stock, shares issued (in shares)   0 0        
Expiration period (in years)   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)   1          
Maximum number of shares subject to awards granted (in shares)   3,000,000          
Number of common stock shares granted in participant's initial year of hiring (in shares)   4,500,000          
Aggregate intrinsic value of the options exercised | $   $ 25,000 $ 38,000 $ 18,000      
Aggregate intrinsic value of the stock-based compensation arrangements outstanding | $   6,000          
Aggregate intrinsic value of the stock-based compensation arrangements exercisable | $   5,000          
Aggregate intrinsic value of the stock-based compensation arrangements exercisable, vested and expected to vest | $   $ 6,000          
Common stock issued on employee stock purchase plan (note 10) (in shares)   254,000 226,000 323,000      
Stock-based compensation expense | $   $ 104,348 $ 91,661 $ 80,184      
Unrecognized compensation costs related to unvested stock-based compensation arrangements | $   $ 177,000          
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) 2,400,000            
Common stock authorized for issuance (in shares)   53,500,000          
Common stock reserved for future issuance (in shares)   11,900,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)   3,500,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%          
Additional issuance of common stock (in shares) 3,000,000.0            
Number of offerings | offering   2          
Stock-based compensation expense | $   $ 11,000 12,000 11,000      
Performance Restricted Stock Units              
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]              
Vesting period (in years)   3 years          
Fair value of RSUs and PRSUs | $   $ 17,000 10,000 13,000      
Restricted ‎Stock ‎Units              
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]              
Fair value of RSUs and PRSUs | $   $ 58,000 $ 45,000 $ 38,000      
Minimum              
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]              
Vesting period (in years)   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 (in years)   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%          
Treasury Stock              
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]              
Treasury stock acquired (in shares)   2,872,000 1,262,000 828,000      
Treasury stock purchases | $   $ 705,299 $ 300,025 $ 150,011      
Total number of shares repurchased pursuant to the repurchase program (in shares)   46,798,000 43,926,000 42,664,000 41,836,000