Revenue - Summary of Activity for Allowance for Credit Losses (Detail) - USD ($) $ in Thousands |
3 Months Ended | |
|---|---|---|
Aug. 31, 2026 |
Aug. 31, 2025 |
|
| Accounts receivable, allowance for credit loss [Roll Forward] | ||
| Beginning balance | $ 39,179 | $ 42,844 |
| Bad debt provision | 6,546 | 1,394 |
| Uncollectible accounts written off, net of recoveries | (7,478) | (2,048) |
| Translation adjustments | (11) | 316 |
| Ending balance | $ 38,236 | $ 42,506 |
| 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
|