Net (Gain) on Marketable Securities (Detail) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
May 31, 2026 |
May 31, 2025 |
May 31, 2024 |
|
| Net Loss (Gain) on Marketable Securities | |||
| Unrealized (gains) losses on marketable equity securities | $ (22,452) | $ 5,505 | $ (19,703) |
| Realized (gains) on marketable equity securities | (2,978) | (10,625) | (290) |
| Realized losses on available-for-sale debt securities | 8 | 123 | 79 |
| Net (gain) on marketable securities | $ (25,422) | $ (4,997) | $ (19,914) |