v3.26.3
Stock-based compensation - Schedule of Share-Based Compensation Expense Recognized in Consolidated Statements of Operations and Comprehensive Income (Loss) (Details) - USD ($)
$ in Millions
3 Months Ended
Sep. 30, 2026
Sep. 30, 2025
Share-Based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]    
Total stock-based compensation $ 106 $ 72
Stock options    
Share-Based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]    
Total stock-based compensation 1 3
Service-based RSUs    
Share-Based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]    
Total stock-based compensation 96 42
Performance-based RSUs    
Share-Based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]    
Total stock-based compensation $ 9 $ 27