XML 52 R40.htm IDEA: XBRL DOCUMENT v3.23.3
Restructuring (Additional Information) (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Oct. 31, 2023
Oct. 31, 2022
Oct. 31, 2023
Oct. 31, 2022
Restructuring Cost and Reserve [Line Items]        
Restructuring Charges $ 2,061 $ 3,110 $ 5,973 $ 5,308
Cost of Goods Sold [Member]        
Restructuring Cost and Reserve [Line Items]        
Restructuring Charges $ 409 $ 1,735 $ 1,312 $ 2,978