v3.22.2.2
Fair Value Measurements - Additional Information (Detail) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Oct. 29, 2022
Oct. 30, 2021
Jul. 31, 2021
Oct. 29, 2022
Oct. 30, 2021
Apr. 30, 2022
Schedule of Investments [Line Items]            
Gains on investments $ 0 $ 0   $ 0 $ 87,827  
Estimated fair value of debt 480,533     480,533   $ 489,777
Carrying value of debt 488,522     488,522   488,554
Vetsource            
Schedule of Investments [Line Items]            
Carrying value of investment 56,849   $ 25,814 56,849   $ 56,849
Proceeds from sale of investment     56,849      
Gain on sale of investment     31,035      
Noncash gain on investments     31,035      
Gain on investment put option     $ 25,757      
Carrying value, put option $ 25,757     $ 25,757    
Gains on investments   $ 87,827