Income Taxes - Narrative (Details) - USD ($) $ in Thousands |
12 Months Ended | |||
|---|---|---|---|---|
May 25, 2024 |
May 27, 2023 |
May 28, 2022 |
May 29, 2021 |
|
| Income Tax Disclosure [Line Items] | ||||
| Tax benefit related to stock-based compensation for nonqualified stock options expensed and for eligible disqualifying ISO exercises and shares issued under ESPP | $ 1,300 | $ 2,100 | $ 2,000 | |
| Net operating loss carryforwards | 69,692 | |||
| Tax credit carryforward | 500 | |||
| Foreign earnings repatriated | 10,200 | |||
| Undistributed earnings of foreign subsidiaries | 31,600 | |||
| Unrecognized tax benefits | 1,033 | 962 | 908 | $ 872 |
| Unrecognized tax benefits, accrued interest | 71 | $ 54 | $ 36 | |
| Capital Loss Carryforward | ||||
| Income Tax Disclosure [Line Items] | ||||
| Tax credit carryforward | 2,300 | |||
| Foreign | ||||
| Income Tax Disclosure [Line Items] | ||||
| Net operating loss carryforwards | 17,300 | |||
| Gross operating loss carryforwards | 69,700 | |||
| State | ||||
| Income Tax Disclosure [Line Items] | ||||
| Net operating loss carryforwards | $ 400 | |||