XML 50 R39.htm IDEA: XBRL DOCUMENT v3.21.4
Stock-Based Compensation - Restricted Stock and Restricted Stock Units (Details) - USD ($)
$ / shares in Units, $ in Millions
3 Months Ended 6 Months Ended
Nov. 30, 2021
Nov. 30, 2021
Nov. 30, 2020
Restricted Stock and Restricted Stock Units      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Weighted average grant date fair value (in dollars per share)   $ 163.27 $ 109.36
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 8 months 12 days  
Performance Based Restricted Stock (PSUs)      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Weighted average grant date fair value (in dollars per share) $ 250.52    
Restricted Stock, Restricted Stock Units and Performance Based Restricted Stock Units      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Unrecognized compensation costs from restricted stock, net of estimated forfeitures $ 624 $ 624