XML 53 R45.htm IDEA: XBRL DOCUMENT v3.23.4
Restructuring and Other Expenses (Income), Net - Additional Information (Detail) - USD ($)
3 Months Ended 6 Months Ended
Oct. 31, 2022
Jun. 14, 2022
Nov. 30, 2023
Nov. 30, 2022
Nov. 30, 2023
Nov. 30, 2022
Restructuring Cost and Reserve [Line Items]            
Severance payments         $ 141,000  
Restructuring liabilities     $ 0   0  
Restructuring and other expense, net     $ 6,000 $ (4,282,000) $ 6,000 $ (5,382,000)
Net cash proceeds   $ 5,775,000        
WSP Joint Venture            
Restructuring Cost and Reserve [Line Items]            
Net cash proceeds $ 21,277,000          
Pre-tax gain on sale of joint venture facility $ 3,926,000