XML 143 R124.htm IDEA: XBRL DOCUMENT v3.22.2
Summary of Activity for Allowance for Credit Losses (Detail) - USD ($)
$ in Thousands
12 Months Ended
May 31, 2022
May 31, 2021
May 31, 2020
Accounts receivable, allowance for credit loss [Roll Forward]      
Beginning balance $ 55,922    
Bad debt provision 4,326 $ 10,000 $ 16,700
Uncollectible accounts written off, net of recoveries (10,797)    
Translation adjustments (2,782)    
Ending balance $ 46,669 $ 55,922