XML 77 R54.htm IDEA: XBRL DOCUMENT v3.22.2
Fair Value Measurements - Additional Information (Detail) - USD ($)
$ in Millions
12 Months Ended
May 31, 2022
May 31, 2021
May 31, 2020
Short-term Investments      
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]      
Available-for-sale securities with maturity dates within one year from purchase date $ 2,617    
Available-for-sale securities with maturity dates over one year and less than five years from purchase date 1,806    
Interest expense (income), net      
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]      
Interest income related to cash and equivalents and short-term investments $ 94 $ 34 $ 62