v3.25.2
Stockholders' Equity - Schedule of Recognized Stock-Based Compensation (Details) - USD ($)
$ in Millions
3 Months Ended 9 Months Ended
May 31, 2025
May 31, 2024
May 31, 2025
May 31, 2024
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Total $ 19 $ 3 $ 84 $ 72
Restricted stock units        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Total 14 (2) 69 58
Employee stock purchase plan        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Total $ 5 $ 5 $ 15 $ 14