XML 48 R37.htm IDEA: XBRL DOCUMENT v3.21.4
Stock-Based Compensation - Total Stock-Based Compensation Expense (Detail) - USD ($)
$ in Millions
3 Months Ended 6 Months Ended
Nov. 30, 2021
Nov. 30, 2020
Nov. 30, 2021
Nov. 30, 2020
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Tax benefit related to stock-based compensation expense $ 87 $ 108 $ 273 $ 189
Class B Common Stock        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Stock-based compensation expense $ 170 189 $ 306 325
Stock Incentive Plan | Class B Common Stock        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Shares available for grant (in shares) 798,000,000   798,000,000  
Stock options | Class B Common Stock        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Stock-based compensation expense $ 81 107 $ 146 177
ESPPs | Class B Common Stock        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Stock-based compensation expense 14 17 29 35
Restricted Stock and Restricted Stock Units | Class B Common Stock        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Stock-based compensation expense $ 75 $ 65 $ 131 $ 113