v3.26.1
Stock-based compensation -Schedule of weighted average, where applicable, inputs used in measuring the fair value (Details) - $ / shares
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
RSUs      
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]      
Dividend yield 0.00% 0.00% 0.00%
Expected volatility 80.00% 66.00% 100.00%
Risk-free interest rate 3.61% 4.14% 4.38%
Expected life, years 3 years 10 days 4 years 11 months 1 day 3 years
Grant date share price (in USD per share) $ 14.66 $ 10.86 $ 4.67
Fair value (in USD per share) $ 10.34 $ 6.93 $ 2.41
Number of RSUs granted (in shares) 3,732,114 6,373,418 1,574,725
RSUs (at modification date)      
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]      
Dividend yield   0.00%  
Expected volatility   75.00%  
Risk-free interest rate   4.12%  
Expected life, years   4 years 5 months 26 days  
Grant date share price (in USD per share)   $ 8.41  
Fair value (in USD per share)   $ 4.14  
Number of RSUs granted (in shares)   (2,579,448)