v3.26.1
Earnings per Share (Details) - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
Numerator:      
Continuing operations $ 267,375 $ 232,677 $ 137,713
Discontinued operations (15,809) 4,388 (936)
Net income and comprehensive income $ 251,566 $ 237,065 $ 136,777
Denominator:      
Weighted-average basic shares outstanding 35,045 37,085 39,413
Effect of dilutive stock awards 670 1,249 894
Weighted-average diluted shares outstanding 35,715 38,334 40,307
Basic:      
Continuing operations (In dollars per share) $ 7.63 $ 6.27 $ 3.49
Discontinued operations (In dollars per share) (0.45) 0.12 (0.02)
Total basic earnings per share (In dollar per share) 7.18 6.39 3.47
Diluted:      
Continuing operations (In dollars per share) 7.49 6.07 3.42
Discontinued operations (In dollars per share) (0.44) 0.11 (0.02)
Total diluted earnings per share (In dollars per share) $ 7.04 $ 6.18 $ 3.39
Weighted Average      
Diluted:      
Weighted-average antidilutive shares 1 23 115