Revenue - Summary of Activity for Allowance for Credit Losses (Detail) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
May 31, 2024 |
May 31, 2023 |
May 31, 2022 |
|
| Accounts receivable, allowance for credit loss [Roll Forward] | |||
| Beginning balance | $ 49,482 | ||
| Bad debt provision | 18,375 | $ 13,600 | $ 4,300 |
| Uncollectible accounts written off, net of recoveries | (19,160) | ||
| Translation adjustments | 66 | ||
| Ending balance | $ 48,763 | $ 49,482 | |
| 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/2009/role/commonPracticeRef
|
| 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
|