XML 158 R131.htm IDEA: XBRL DOCUMENT v3.23.2
SCHEDULE II - Valuation and Qualifying Accounts (Detail) - Allowance for Doubtful Accounts - USD ($)
$ in Thousands
12 Months Ended
May 31, 2023
May 31, 2022
May 31, 2021
Valuation and Qualifying Accounts Disclosure [Line Items]      
Balance at Beginning of Period $ 1,292 $ 608 $ 1,521
Charged to Costs and Expenses 2,108 959 (254)
Uncollectable Accounts Charged to Allowance (17) (275) (659)
Balance at End of Period $ 3,383 $ 1,292 $ 608