v3.26.1
Stock-based compensation - Summary option activity (Details) - USD ($)
$ / shares in Units, $ in Thousands
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
Number of shares, outstanding [Roll Forward]      
Outstanding, beginning balance (in shares) 7,878,554    
Granted (in shares) 0 0 0
Forfeited or canceled (in shares) 0    
Exercised (in shares) (2,374,360)    
Outstanding, ending balance (in shares) 5,504,194 7,878,554  
Vested and exercisable (in shares) 3,046,773    
Weighted average exercise price (per share)      
Outstanding, beginning balance (in USD per share) $ 47.07    
Granted (in USD per share) 0    
Forfeited or canceled (in USD per share) 0    
Exercised (in USD per share) 3.27    
Outstanding, ending balance (in USD per share) 66.03 $ 47.07  
Vested and exercisable (in USD per share) $ 50.26    
Aggregate intrinsic value      
Options outstanding, aggregate intrinsic value $ 28,784 $ 34,648  
Vested and exercisable $ 26,906    
Weighted average exercise price (per share)      
Options outstanding, weighted average remaining contractual term 6 years 9 months 18 days 5 years 9 months 18 days  
Options vested and exercisable, weighted average remaining contractual term 6 years 1 month 9 days