v3.26.1
Stock-Based Compensation - Schedule of Expense and Related Tax Benefits Recognized (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Stock-based compensation expense $ 79,514 $ 60,177 $ 53,904
Income tax benefits recognized from stock-based compensation 25,331 22,683 16,486
RSUs      
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Stock-based compensation expense 59,217 31,105 30,355
PRSUs      
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Stock-based compensation expense $ 20,297 $ 29,072 $ 23,549