v3.25.2
Revenue - Summary of Activity for Allowance for Credit Losses (Detail) - USD ($)
$ in Thousands
12 Months Ended
May 31, 2025
May 31, 2024
May 31, 2023
Accounts receivable, allowance for credit loss [Roll Forward]      
Beginning balance $ 48,763 $ 49,482 $ 46,669
Bad debt provision 16,411 18,375 13,557
Uncollectible accounts written off, net of recoveries (22,560) (19,160) (9,780)
Translation adjustments 230 66 (964)
Ending balance $ 42,844 $ 48,763 $ 49,482