v3.26.1
Summary of Significant Accounting Policies - Earnings Per Share (Details) - shares
shares in Thousands
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
Accounting Policies [Abstract]      
Weighted-average shares outstanding during period (in shares) 76,215 77,264 79,390
Add: Unexercised stock options and unvested restricted stock units (in shares) 1,209 630 575
Number of shares on which diluted earnings per share is calculated (in shares) 77,424 77,894 79,965
Unexercised stock options with an exercise price greater than the average market price and restricted stock units not included in the computation because they were anti-dilutive (in shares) 10 274 396