v3.26.1
Stock-Based Compensation - Schedule of Activity Related to Restricted Stock and RSUs (Details) - $ / shares
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
Weighted-average grant date fair value      
Share-based compensation arrangement by share-based payment award, granted and forfeited specified target shares (in percent) 100.00%    
RSUs      
Number of shares      
Beginning balance unvested (in shares) 175,239    
Granted (in shares) 75,921    
Vested (in shares) (94,402)    
Forfeited (in shares) (8,052)    
Ending balance unvested (in shares) 148,706 175,239  
Weighted-average grant date fair value      
Beginning balance unvested (in dollars per shares) $ 383.18    
Granted (in dollars per shares) 516.47 $ 496.46 $ 318.15
Vested (in dollars per shares) 338.14    
Forfeited (in dollars per shares) 485.90    
Ending balance unvested (in dollars per shares) $ 474.26 $ 383.18  
PRSUs      
Number of shares      
Beginning balance unvested (in shares) 141,703    
Granted (in shares) 31,200    
Adjustments (in shares) 25,887    
Vested (in shares) (76,009)    
Forfeited (in shares) (4,519)    
Ending balance unvested (in shares) 118,262 141,703  
Weighted-average grant date fair value      
Beginning balance unvested (in dollars per shares) $ 334.62    
Granted (in dollars per shares) 515.42 $ 505.62 $ 314.54
Adjustments (in dollars per shares) 264.72    
Vested (in dollars per shares) 266.73    
Forfeited (in dollars per shares) 457.41    
Ending balance unvested (in dollars per shares) $ 405.96 $ 334.62