XML 75 R64.htm IDEA: XBRL DOCUMENT v3.21.4
Segment Operations - Financial Information for Reportable Segments (Parenthetical) (Detail) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Nov. 30, 2021
Nov. 30, 2020
Nov. 30, 2021
Nov. 30, 2020
Segment Reporting [Abstract]        
Restructuring (charges) gains $ 81 $ (142) $ 6,027 $ (257)