Revenue - Summary of Activity for Allowance for Credit Losses (Detail) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
May 31, 2026 |
May 31, 2025 |
May 31, 2024 |
|
| Accounts receivable, allowance for credit loss [Roll Forward] | |||
| Beginning balance | $ 42,844 | $ 48,763 | $ 49,482 |
| Bad debt provision | 9,297 | 16,411 | 18,375 |
| Uncollectible accounts written off, net of recoveries | (13,776) | (22,560) | (19,160) |
| Translation adjustments | 814 | 230 | 66 |
| Ending balance | $ 39,179 | $ 42,844 | $ 48,763 |
| X | ||||||||||
- Definition Accounts receivable allowance for credit loss translation adjustments. No definition available.
|
| X | ||||||||||
- Definition Amount of allowance for credit loss on accounts receivable. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period. No definition available.
|
| X | ||||||||||
- Definition Amount of direct write-downs of accounts receivable charged against the allowance. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of expense (reversal of expense) for expected credit loss on accounts receivable. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|