Borrowings - Additional Information (Details) - USD ($) $ in Thousands |
Jul. 05, 2026 |
Dec. 28, 2025 |
Sep. 10, 2025 |
Apr. 20, 2023 |
|---|---|---|---|---|
| Debt Instrument [Line Items] | ||||
| Short-term debt | $ 10,593 | $ 9,865 | ||
| Short-term loans | 10,400 | 9,700 | ||
| Current portion of long-term debt | $ 216 | $ 230 | ||
| Weighted average interest rate on the short-term loans | 5.10% | 4.80% | ||
| Long-term debt, fair value | $ 300 | $ 500 | ||
| Convertible notes outstanding | 532,824 | 532,960 | ||
| Interest payable, current | $ 6,100 | 5,800 | ||
| Convertible Senior Notes Due 2030 | Convertible Debt | ||||
| Debt Instrument [Line Items] | ||||
| Principal balance | $ 360,000 | |||
| Annual interest rate | 4.75% | |||
| Convertible notes outstanding | $ 360,000 | 360,000 | ||
| Convertible Senior Notes Due 2028 | Convertible Debt | ||||
| Debt Instrument [Line Items] | ||||
| Principal balance | $ 172,500 | |||
| Annual interest rate | 3.00% | 3.00% | ||
| Convertible notes outstanding | $ 172,500 | $ 172,500 | ||
| Affiliate Notes | Convertible Debt | Related Party | ||||
| Debt Instrument [Line Items] | ||||
| Principal balance | $ 10,000 |
| X | ||||||||||
- Definition Amount of debt and lease obligation, classified as current. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount, before unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but is not limited to, notes payable, bonds payable, commercial loans, mortgage loans, convertible debt, subordinated debt and other types of debt. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Face (par) amount of debt instrument at time of issuance. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Contractual interest rate for funds borrowed, under the debt agreement. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Carrying value as of the balance sheet date of [accrued] interest payable on all forms of debt, including trade payables, that has been incurred and is unpaid. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer). Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount, after deduction of unamortized premium (discount) and debt issuance cost, of long-term debt classified as current. Excludes lease obligation. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition The fair value amount of long-term debt whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Reflects the total carrying amount as of the balance sheet date of debt having initial terms less than one year or the normal operating cycle, if longer. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Weighted average interest rate of short-term debt outstanding calculated at point in time. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|