v3.25.2
Consolidated Statements of Comprehensive Income (Loss)(Parenthetical) - USD ($)
$ in Thousands
12 Months Ended
May 31, 2025
May 31, 2024
May 31, 2023
Statement of Comprehensive Income [Abstract]      
Unrealized gain (loss) on marketable securities, net of tax   $ 293 $ 389
Unrealized (loss) gain on derivative instruments, net of tax $ (987) $ 1,232 $ (644)