XML 179 R66.htm IDEA: XBRL DOCUMENT v3.22.2
Stock-Based Compensation - Additional Information (Details) - USD ($)
$ / shares in Units, $ in Millions
12 Months Ended
May 31, 2022
May 31, 2021
May 31, 2020
Share Based Compensation Arrangement Stock Options [Abstract]      
Stock option vesting period range one to four years    
Restricted stock expiration period ratably over four years    
Stock-based compensation, key assumptions of valuation method Black-Scholes    
Maximum term of stock options 10 years    
Restricted stock granted 115,172 335,004 207,012
Restricted stock, weighted-average fair value $ 276.26 $ 155.19 $ 158.58
Employee Service Share Based Compensation Nonvested Awards Total Compensation Cost Not Yet Recognized Abstract      
Total unrecognized compensation cost, net of estimated forfeitures $ 253    
Stock option remaining weighted average vesting period 2 years    
Ratio Of Outstanding And Available To Grant Shares To Total Outstanding Common And Equity Compensation Shares And Equity Compensation Shares Available For Grant [Abstract]      
Ratio Of Outstanding And Available To Grant Shares To Total Outstanding Common And Equity Compensation Shares And Equity Compensation Shares Available For Grant 9.00%