v3.25.2
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, 2025
May 31, 2024
Investments, Debt and Equity Securities [Abstract]    
Total investments with unrealized losses, fair value $ 15,794 $ 25,464
Unrealized losses with a loss position for less than 12 months, fair value 5,777 4,866
Unrealized losses with a loss position for more than 12 months, fair value 10,017 20,598
Total investments with unrealized losses, gross unrealized losses (1,100) (1,796)
Unrealized losses with a loss position for less than 12 months, gross unrealized losses (753) (36)
Unrealized losses with a loss position for more than 12 months, gross unrealized losses $ (347) $ (1,760)