XML 136 R121.htm IDEA: XBRL DOCUMENT v3.23.2
Revenue - Summary of Activity for Allowance for Credit Losses (Detail) - USD ($)
$ in Thousands
12 Months Ended
May 31, 2023
May 31, 2022
May 31, 2021
Accounts receivable, allowance for credit loss [Roll Forward]      
Beginning balance $ 46,669    
Bad debt provision 13,557 $ 4,300 $ 10,000
Uncollectible accounts written off, net of recoveries (9,780)    
Translation adjustments (964)    
Ending balance $ 49,482 $ 46,669