Quarterly report pursuant to Section 13 or 15(d)

Debt - Additional Information (Details)

v3.21.2
Debt - Additional Information (Details) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 6 Months Ended
May 29, 2020
Apr. 13, 2020
Jun. 30, 2021
Jun. 30, 2020
Jun. 30, 2021
Jun. 30, 2020
Debt Instrument [Line Items]            
Gain on extinguishment of debt         $ 1,553
Term loan, extended expiration date May 29, 2026          
Change in warrant valuation     $ (59) $ 12,667 (41) 14,045
Credit Agreement            
Debt Instrument [Line Items]            
Line of credit facility, maximum principal amount $ 50,000   $ 0   $ 0  
Line of credit facility, drawn on or before date May 29, 2025          
Term loan, interest rate 13.50%          
Term loan, frequency of payments monthly          
Term loan, interest payment period 3 years          
EBITDA $ 10,000          
Amortization period 36 months          
Term loan, exit fee due, principal amount advanced by lenders $ 700          
Term loan, exit fees $ 700          
Term loan, payoff period 6 months          
Exit fee percentage     2.50%   2.50%  
Current outstanding loan balance       250   250
Financial covenants, minimum liquidity requirement $ 5,000          
Debt issuance costs 1,496          
Change in warrant valuation $ 1,423          
Effective interest rate     22.67%   22.67%  
Debt issuance cost amortization     $ 211 $ 70 $ 422 $ 70
Credit Agreement | MAM Eagle Lender, LLC | Common Stock            
Debt Instrument [Line Items]            
Warrants issued to purchase shares of common stock 527,100          
Exercise price of warrants $ 4.59          
Warrants exercisable date May 29, 2027          
Credit Agreement | After Third But Prior To Fourth Anniversary of Tranche One, Two, Three, Four or Five Loans            
Debt Instrument [Line Items]            
Term loan, prepayment of principal percentage 3.00%          
Maximum | Credit Agreement            
Debt Instrument [Line Items]            
Term loan, exit fee due, percentage of principal amount advanced by lenders 2.50%          
Maximum | Credit Agreement | On or Prior To Third Anniversary of Tranche One, Two, Three, Four or Five Loans            
Debt Instrument [Line Items]            
Term loan, prepayment of principal percentage 5.00%          
Paycheck Protection Program Loan | PNC Bank            
Debt Instrument [Line Items]            
Proceeds from loan   $ 1,537        
Debt instrument, term   2 years        
Debt instrument, maturity date   May 08, 2022        
Debt instrument, interest rate   1.00%        
Debt instrument, date of first required payment   Sep. 15, 2021        
Gain on extinguishment of debt         $ 1,553  
Paycheck Protection Program Loan | PNC Bank | Minimum            
Debt Instrument [Line Items]            
Percentage of payroll costs   60.00%        
Paycheck Protection Program Loan | PNC Bank | Maximum            
Debt Instrument [Line Items]            
Repayment of unforgiven amount, threshold   $ 1,100        
Tranche One Loans | Credit Agreement            
Debt Instrument [Line Items]            
Line of credit facility, maximum principal amount $ 10,000          
Term Loans | Credit Agreement            
Debt Instrument [Line Items]            
Line of credit facility, maximum principal amount 40,000          
Tranche Two Loans | Credit Agreement            
Debt Instrument [Line Items]            
Line of credit facility, maximum principal amount $ 5,000          
Line of credit facility, drawn on or before date Aug. 29, 2021          
Tranche Two Loans | Minimum | Credit Agreement            
Debt Instrument [Line Items]            
Net revenue $ 5,000          
Tranche Three Loans | Credit Agreement            
Debt Instrument [Line Items]            
Line of credit facility, maximum principal amount $ 5,000          
Line of credit facility, drawn on or before date Nov. 29, 2021          
Tranche Three Loans | Minimum | Credit Agreement            
Debt Instrument [Line Items]            
Net revenue $ 10,000          
Tranche Four Loans | Credit Agreement            
Debt Instrument [Line Items]            
Line of credit facility, maximum principal amount $ 10,000          
Line of credit facility, drawn on or before date Aug. 29, 2022          
Tranche Four Loans | Minimum | Credit Agreement            
Debt Instrument [Line Items]            
Net revenue $ 20,000          
Tranche Five Loans | Credit Agreement            
Debt Instrument [Line Items]            
Line of credit facility, maximum principal amount $ 20,000          
Line of credit facility, drawn on or before date Mar. 01, 2023          
Tranche Five Loans | Minimum | Credit Agreement            
Debt Instrument [Line Items]            
Net revenue $ 100,000