XML 72 R65.htm IDEA: XBRL DOCUMENT v3.25.1
Revenue - Summary of Activity for Allowance for Credit Losses (Detail) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Feb. 28, 2025
Feb. 29, 2024
Feb. 28, 2025
Feb. 29, 2024
Accounts receivable, allowance for credit loss [Roll Forward]        
Beginning balance $ 52,671 $ 57,448 $ 48,763 $ 49,482
Bad debt provision 1,893 3,608 8,821 14,197
Uncollectible accounts written off, net of recoveries (5,075) (2,471) (7,290) (5,285)
Translation adjustments (581) (208) (1,386) (17)
Ending balance $ 48,908 $ 58,377 $ 48,908 $ 58,377