XML 50 R39.htm IDEA: XBRL DOCUMENT v3.22.1
Stock-Based Compensation - Total Stock-Based Compensation Expense (Detail) - USD ($)
$ in Millions
3 Months Ended 9 Months Ended
Feb. 28, 2022
Feb. 28, 2021
Feb. 28, 2022
Feb. 28, 2021
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Tax benefit related to stock-based compensation expense $ 34 $ 67 $ 307 $ 256
Class B Common Stock        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Stock-based compensation expense $ 161 142 $ 467 467
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 $ 75 73 $ 221 250
ESPPs | Class B Common Stock        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Stock-based compensation expense 15 15 44 50
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 $ 71 $ 54 $ 202 $ 167