XML 81 R66.htm IDEA: XBRL DOCUMENT v3.23.2
Fair Value Measurements - Additional Information (Detail) - USD ($)
$ in Millions
12 Months Ended
May 31, 2023
May 31, 2022
Fair Value Disclosures [Abstract]    
Settlements of contingent consideration obligations $ 10.4 $ 5.8
Increase in accrual related to acquisitions $ 2.6  
Increase in accrual related to fair value adjustments   $ 3.3