XML 53 R43.htm IDEA: XBRL DOCUMENT v3.23.4
Fair Value Measurements - Additional Information (Detail) - USD ($)
$ in Millions
6 Months Ended
Nov. 30, 2023
Nov. 30, 2022
Fair Value Disclosures [Abstract]    
Settlements of contingent consideration obligations $ 1.1 $ 10.3
Increase in accrual related to acquisitions   $ 2.1