Marketable Securities - Summary of Available-for-Sale Debt Securities in Unrealized Loss Position and Included in Accumulated Other Comprehensive (Loss), Aggregated by Length of Time Investments (Detail) - USD ($) $ in Thousands |
May 31, 2024 |
May 31, 2023 |
|---|---|---|
| Investments, Debt and Equity Securities [Abstract] | ||
| Total investments with unrealized losses, fair value | $ 25,464 | $ 24,245 |
| Unrealized losses with a loss position for less than 12 months, fair value | 4,866 | 6,285 |
| Unrealized losses with a loss position for more than 12 months, fair value | 20,598 | 17,960 |
| Total investments with unrealized losses, gross unrealized losses | (1,796) | (1,855) |
| Unrealized losses with a loss position for less than 12 months, gross unrealized losses | (36) | (72) |
| Unrealized losses with a loss position for more than 12 months, gross unrealized losses | $ (1,760) | $ (1,783) |
| X | ||||||||||
- Definition Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for more than 12 months, without allowance for credit loss. Includes beneficial interest in securitized financial asset. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of accumulated unrealized loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for 12 months or longer, without allowance for credit loss. Includes beneficial interest in securitized financial asset. Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef
|
| X | ||||||||||
- Definition Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for less than 12 months, without allowance for credit loss. Includes beneficial interest in securitized financial asset. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of accumulated unrealized loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for less than 12 months, without allowance for credit loss. Includes beneficial interest in securitized financial asset. Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef
|
| X | ||||||||||
- Definition Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in unrealized loss position without allowance for credit loss. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of accumulated unrealized loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in unrealized loss position, without allowance for credit loss. Includes beneficial interest in securitized financial asset. Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef
|
| X | ||||||||||
- References No definition available.
|