XML 13 R6.htm IDEA: XBRL DOCUMENT v3.25.1
Condensed Consolidated Statements of Comprehensive (Loss) Income (Parenthetical) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Feb. 28, 2025
Feb. 29, 2024
Feb. 28, 2025
Feb. 29, 2024
Statement of Comprehensive Income [Abstract]        
Unrealized gain (loss) on marketable securities, net of tax   $ 24   $ 290
Unrealized (loss) gain on derivative instruments, net of tax $ (91) $ 44 $ (914) $ 867