Fair Value Measurement - Reconciliation of The Fair Value Measurements of Assets And Liabilities Using Significant Unobservable Inputs (level 3) (Detail) - Level investments [Member] - USD ($) $ in Thousands |
12 Months Ended | |
|---|---|---|
May 31, 2026 |
May 31, 2025 |
|
| Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items] | ||
| Beginning balance | $ 115,970 | $ 125,777 |
| Unrealized loss | 3,220 | (5,670) |
| Impairment | (4,412) | |
| Disposals | (140) | |
| Foreign exchange difference | 4,691 | 415 |
| Addition | 12,338 | |
| Transfer from Level 2 | 14,569 | |
| Unrealized gain | 3,220 | (5,670) |
| Ending balance | $ 150,788 | $ 115,970 |
| X | ||||||||||
- Definition Fair value measurement with unobservable inputs reconciliation assets foreign exchange differences. No definition available.
|
| X | ||||||||||
- Definition Impairment losses on assets measured at fair value with unobservable inputs. No definition available.
|
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of gain (loss) recognized in income from asset measured at fair value on recurring basis using unobservable input (level 3). Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of purchases of financial instrument classified as an asset measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of sale of financial instrument classified as an asset measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of transfer of financial instrument classified as an asset into level 3 of the fair value hierarchy. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Fair value of financial instrument classified as an asset measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Details
|