Debt - Credit agreement (Details) - USD ($) $ in Thousands |
3 Months Ended | 6 Months Ended | ||||
|---|---|---|---|---|---|---|
Jun. 28, 2021 |
Jan. 19, 2021 |
Jun. 30, 2021 |
Mar. 31, 2021 |
Jun. 30, 2021 |
Mar. 30, 2021 |
|
| Short-term Debt [Line Items] | ||||||
| Debt discount | $ 100 | |||||
| Loss on extinguishment of debt, net | $ 101 | $ 2,061 | ||||
| Payment of credit agreement | $ 10,500 | |||||
| Credit agreement | ||||||
| Short-term Debt [Line Items] | ||||||
| Additional borrowing amount | $ 1,000 | |||||
| New debt fair value | 10,000 | |||||
| Debt discount | $ 500 | |||||
| Loss on extinguishment of debt, net | $ (3,000) | |||||
| Credit facility bear interest | 2.50% | |||||
| Other Noncash Expense | $ 100 | |||||
| Payment of credit agreement | $ 10,500 | |||||
| Credit agreement | Series G Warrants | ||||||
| Short-term Debt [Line Items] | ||||||
| Number of shares in exchange of warrant exercise | 1,000,000 | |||||
| X | ||||||||||
- Definition The amount of additional borrowing capacity available and that may be drawn under the debt instrument agreement. No definition available.
|
| X | ||||||||||
- Definition Number of securities into which the class of warrant or right may be converted. For example, but not limited to, 500,000 warrants may be converted into 1,000,000 shares. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Percentage points added to the reference rate to compute the variable rate on the debt instrument. No definition available.
|
| X | ||||||||||
- Definition Amount, after accumulated amortization, of debt discount. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Difference between the fair value of payments made and the carrying amount of debt which is extinguished prior to maturity. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount of the cost of borrowed funds accounted for as interest expense for debt. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| 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. No definition available.
|
| X | ||||||||||
- Definition The cash outflow for debt initially having maturity due after one year or beyond the normal operating cycle, if longer. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| 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. No definition available.
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|