Debt (Details) - USD ($) $ in Thousands |
Dec. 31, 2021 |
Dec. 31, 2020 |
---|---|---|
Debt Instrument [Line Items] | ||
Capital leases | $ 3,204 | $ 229 |
Total debt principal balance | 171,659 | 315,051 |
Unamortized debt discount and issuance costs | (11,792) | (28,501) |
Current maturities | (9,504) | (13,573) |
Net long-term debt | 174,747 | 283,902 |
Senior Secured Term Loan [Member] | ||
Debt Instrument [Line Items] | ||
Long-term debt, gross | 120,745 | 246,250 |
Senior Secured Term Loan future interest payable | 24,384 | 10,925 |
ABL Credit Facility [Member] | ||
Debt Instrument [Line Items] | ||
Long-term debt, gross | 14,170 | 23,710 |
PPP Loan [Member] | ||
Debt Instrument [Line Items] | ||
Long-term debt, gross | 0 | 10,000 |
USDA Loan [Member] | ||
Debt Instrument [Line Items] | ||
Long-term debt, gross | 25,000 | 21,996 |
Equipment Financing [Member] | ||
Debt Instrument [Line Items] | ||
Long-term debt, gross | $ 8,540 | $ 12,866 |
X | ||||||||||
- Definition Amount equal to the present value (the principal) at the beginning of the lease term of minimum lease payments during the lease term (excluding that portion of the payments representing executory costs such as insurance, maintenance, and taxes to be paid by the lessor, together with any profit thereon) net of payments or other amounts applied to the principal through the balance sheet date. Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef
|
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/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. No definition available.
|
X | ||||||||||
- Definition Amount of unamortized debt discount (premium) and debt issuance costs. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
X | ||||||||||
- Definition Amount of interest payable on debt, including, but not limited to, trade payables. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
X | ||||||||||
- Definition Amount of long-term debt and lease obligation, classified as noncurrent. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
X | ||||||||||
- Definition Amount of long-term debt and lease obligation, classified as current. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
X | ||||||||||
- Definition Amount of long-term debt and lease obligation, including portion classified as current. No definition available.
|
X | ||||||||||
- Details
|
X | ||||||||||
- Details
|
X | ||||||||||
- Details
|
X | ||||||||||
- Details
|
X | ||||||||||
- Details
|