v3.26.1
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, 2026
May 31, 2025
Investments, Debt and Equity Securities [Abstract]    
Total investments with unrealized losses, fair value $ 17,468 $ 15,794
Unrealized losses with a loss position for less than 12 months, fair value 4,712 5,777
Unrealized losses with a loss position for more than 12 months, fair value 12,756 10,017
Total investments with unrealized losses, gross unrealized losses (997) (1,100)
Unrealized losses with a loss position for less than 12 months, gross unrealized losses (46) (753)
Unrealized losses with a loss position for more than 12 months, gross unrealized losses $ (951) $ (347)