XML 79 R55.htm IDEA: XBRL DOCUMENT v3.21.2
Fair Value Measurements - Additional Information (Detail) - USD ($)
$ in Millions
12 Months Ended
May 31, 2021
May 31, 2020
May 31, 2019
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,993    
Available-for-sale securities with maturity dates over one year and less than five years from purchase date 594    
Interest (income) expense, net      
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]      
Interest income related to cash and equivalents and short-term investments $ 34 $ 62 $ 82