XML 59 R52.htm IDEA: XBRL DOCUMENT v3.24.1.u1
Income Taxes - Additional Information (Detail)
3 Months Ended 9 Months Ended
Feb. 29, 2024
Feb. 28, 2023
Feb. 29, 2024
Feb. 28, 2023
Income Tax Disclosure [Abstract]        
Effective income tax rate 22.20% 13.10% 21.90% 22.00%