XML 114 R95.htm IDEA: XBRL DOCUMENT v3.22.2
Reconciliation of Numerator and Denominator of Basic and Diluted Earnings Per Share (Parenthetical) (Detail) - shares
12 Months Ended
May 31, 2022
May 31, 2021
May 31, 2020
Stock-Based Compensation Plans      
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]      
Shares excluded from the calculation of diluted earnings per share 655,000 362,016 340,000