Income Taxes - Narrative (Details) - USD ($) |
12 Months Ended | |||
|---|---|---|---|---|
May 02, 2026 |
May 03, 2025 |
Apr. 27, 2024 |
Apr. 29, 2023 |
|
| Income Tax Contingency [Line Items] | ||||
| Valuation allowance | $ 162,892,000 | $ 69,456,000 | $ 23,258,000 | $ 9,306,000 |
| Increase in valuation allowance | 93,436,000 | 46,197,000 | $ 13,952,000 | |
| Research and development credits | 72,874,000 | $ 35,641,000 | ||
| Foreign tax credit carryover | 0 | |||
| Domestic Tax Jurisdiction | ||||
| Income Tax Contingency [Line Items] | ||||
| NOL carryforwards | 353,000,000.0 | |||
| Research and development credits | 61,300,000 | |||
| State and Local Jurisdiction | ||||
| Income Tax Contingency [Line Items] | ||||
| NOL carryforwards | 58,500,000 | |||
| Research and development credits | $ 37,100,000 | |||