XML 83 R60.htm IDEA: XBRL DOCUMENT v3.23.2
Common Stock and Stock-Based Compensation - Additional Information (Detail)
$ / shares in Units, $ in Millions
12 Months Ended
May 31, 2023
USD ($)
$ / shares
shares
May 31, 2022
USD ($)
$ / shares
shares
May 31, 2021
USD ($)
$ / shares
shares
Class A Convertible Common Stock      
Common Stock and Share Based Compensation [Line Items]      
Common stock, no par value (in dollars per share) | $ / shares $ 0    
Common stock, number of shares authorized (in shares) 400,000,000    
Common stock, Class A conversion ratio to Class B (in shares) 1    
Class B Common Stock      
Common Stock and Share Based Compensation [Line Items]      
Common stock, no par value (in dollars per share) | $ / shares $ 0    
Common stock, number of shares authorized (in shares) 2,400,000,000    
Class B Common Stock | ESPPs      
Common Stock and Share Based Compensation [Line Items]      
Employee stock purchase plans, payroll deductions 10.00%    
Employee stock purchase plan offering period 6 months    
Shares purchased, price as percentage of lower of the fair market value 85.00%    
Purchase of shares by employee (in shares) 3,000,000 2,000,000 2,500,000
Stock Incentive Plan      
Common Stock and Share Based Compensation [Line Items]      
Stock options vesting period (in years) 4 years    
Stock options expiration from the date of grant (in years) 10 years    
Options exercisable (in shares) 44,700,000    
Options exercisable (in dollars per share) | $ / shares $ 79.95    
Stock Incentive Plan | Stock options      
Common Stock and Share Based Compensation [Line Items]      
Unrecognized compensation costs from stock options, net of estimated forfeitures | $ $ 425    
Unrecognized compensation costs from stock options, net of estimated forfeitures, to be recognized as operating overhead expense over a weighted average period (in years) 2 years 6 months    
Stock Incentive Plan | Class B Common Stock      
Common Stock and Share Based Compensation [Line Items]      
Shares available for grant (in shares) 798,000,000    
Minimum term of market traded options for estimates of expected volatility (in years) 1 year    
Aggregate intrinsic value for options outstanding | $ $ 1,380    
Aggregate intrinsic value for options exercisable | $ 1,307    
Total intrinsic value of options exercised | $ $ 438 $ 1,742 $ 1,571
Weighted average remaining contractual life for options outstanding (in years) 5 years 10 months 24 days    
Weighted average remaining contractual life for options exercisable (in years) 4 years 6 months    
Stock Incentive Plan | Class B Common Stock | Stock options      
Common Stock and Share Based Compensation [Line Items]      
Weighted average fair value per share of the options granted (in dollars per share) | $ / shares $ 31.31 $ 37.53 $ 26.75