v3.26.1
Earnings Per Share - Schedule of Calculation of Basic and Diluted 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
Earnings Per Share [Abstract]      
Net income $ 535,808 $ 499,830 $ 419,924
Weighted-average number of basic shares outstanding (in shares) 22,065 22,247 22,381
Dilutive effect of equity awards (in shares) 111 146 192
Weighted-average number of diluted shares outstanding (in shares) 22,176 22,393 22,573
Basic earnings per share (in dollars per shares) $ 24.28 $ 22.47 $ 18.76
Diluted earnings per share (in dollars per shares) $ 24.16 $ 22.32 $ 18.60