XML 43 R31.htm IDEA: XBRL DOCUMENT v3.23.2
Activity in Allowance for Doubtful Accounts (Detail) - USD ($)
$ in Thousands
12 Months Ended
May 31, 2023
May 31, 2022
May 31, 2021
Financing Receivable, Allowance for Credit Losses [Line Items]      
Beginning Balance $ 1,650 $ 1,400 $ 1,350
Provision 1,460 332 239
Recoveries 46 98 139
Write-offs (329) (180) (328)
Ending Balance $ 2,827 $ 1,650 $ 1,400