Stockholders' Equity - Additional Information (Details) - USD ($) $ / shares in Units, shares in Thousands, $ in Thousands |
12 Months Ended | |||
|---|---|---|---|---|
Apr. 27, 2024 |
Apr. 29, 2023 |
Apr. 30, 2022 |
Mar. 11, 2024 |
|
| Equity [Abstract] | ||||
| Common stock repurchased (in shares) | 7,604 | 2,020 | 1,032 | |
| Common stock repurchased | $ 229,508 | $ 55,492 | $ 35,000 | |
| Average cost of common shares repurchased (in usd per share) | $ 30.18 | $ 27.47 | $ 33.90 | |
| Shares authorized for repurchase under share repurchase program (in shares) | 500,000 | |||
| Remaining shares available under repurchase program (in shares) | 500,000 | |||