XML 127 R107.htm IDEA: XBRL DOCUMENT v3.24.2
Investments - Additional Information (Details) - USD ($)
$ in Millions
12 Months Ended
May 31, 2024
May 31, 2023
May 31, 2022
Investments, Debt and Equity Securities [Abstract]      
Unrealized gains and (losses) on equity securities held $ 14 $ (48) $ 60