v3.26.1
Stock-based compensation - Schedule of Share-based compensation expense recognized in Consolidated Statements of Operations and Comprehensive Income Loss (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
Share-Based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]      
Total stock-based compensation $ 205,023 $ 42,642 $ 23,636
Stock options      
Share-Based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]      
Total stock-based compensation 38,503 12,431 12,885
Service-based RSUs      
Share-Based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]      
Total stock-based compensation 126,777 28,223 9,400
Performance-based RSUs      
Share-Based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]      
Total stock-based compensation $ 39,743 $ 1,988 $ 1,351