v3.26.1
Summary of Significant Accounting Policies - Additional Information (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
Product Information [Line Items]      
Average period of benefit 4 years    
Restricted cash included in other non-current assets $ 9,774 $ 888 $ 1,192
Defined contribution plan expense 137,300 114,500 96,300
Advertising expense $ 206,400 $ 153,100 $ 100,200
Class A Common Stock RSU awards      
Product Information [Line Items]      
Cost not yet recognized, period for recognition 4 years    
Class A Common Stock restricted stock awards      
Product Information [Line Items]      
Cost not yet recognized, period for recognition 4 years