Quarterly report pursuant to Section 13 or 15(d)

Debt - Additional Information (Details)

v3.20.2
Debt - Additional Information (Details) - USD ($)
1 Months Ended 3 Months Ended 6 Months Ended 12 Months Ended
Apr. 01, 2021
Jan. 01, 2020
Oct. 01, 2019
Jan. 12, 2019
Jan. 12, 2018
Jul. 31, 2021
Mar. 31, 2020
Jun. 30, 2019
Sep. 30, 2020
Jun. 30, 2020
Sep. 30, 2019
Jun. 30, 2019
Jun. 30, 2020
Jun. 30, 2019
Sep. 30, 2020
Aug. 31, 2020
Dec. 31, 2019
Dec. 31, 2016
Nov. 30, 2019
Apr. 12, 2019
Debt Instrument [Line Items]                                        
Long-term debt                   $ 41,000,000     $ 41,000,000       $ 41,000,000      
Gain (loss) on change in fair value of warrant liability                   (102,000)   $ (103,000) 59,000 $ (103,000)            
Class of warrant or right, exercise price of warrants or rights (in usd per share)               $ 11.50       $ 11.50   $ 11.50            
Percentage of number of shares                                 2.00%      
Amortization of debt issuance costs                         1,080,000 $ 510,000            
2019 Refinancing Agreement                                        
Debt Instrument [Line Items]                                        
Debt instrument, face amount                                       $ 40,000,000.0
Gain (loss) on change in fair value of warrant liability                   $ 100,000   $ 100,000 $ (100,000) 100,000            
Debt instrument, interest rate, effective percentage                   13.00%     13.00%              
Leverage ratio     330.00%       425.00% 425.00%                        
Debt instrument, interest rate, increase (decrease)   1.00%                                    
Class of warrant or right, number of securities called by each warrant or right (in shares)                   263,314     263,314       263,314      
Class of warrant or right, exercise price of warrants or rights (in usd per share)                   $ 7.63     $ 7.63       $ 7.63      
Warrants and rights outstanding                   $ 300,000     $ 300,000       $ 400,000 $ 900,000    
Derivative liability                   0     0       0 400,000    
Debt instrument, unamortized discount                                 1,300,000      
Debt issuance costs, net                                 2,500,000      
Interest expense, debt                   100,000   100,000 200,000 100,000            
Amortization of debt issuance costs                   $ 400,000   $ 200,000 $ 700,000 $ 200,000            
2019 Refinancing Amendment Number One and Waiver                                        
Debt Instrument [Line Items]                                        
Line of credit facility, maximum borrowing capacity     $ 15,000,000                                  
Debt instrument, percentage of customer accounts required to approve amendment     75.00%                                  
Debt instrument, non refundable waiver fee                                 400,000      
Debt instrument, non refundable amendment fee                                 $ 1,000,000      
Line of credit facility, unused capacity, commitment fee percentage                                 50.10%      
Leverage ratio     330.00%       425.00%                          
Debt instrument, interest rate, increase (decrease)     3.00%                                  
2019 ABL Credit Agreement                                        
Debt Instrument [Line Items]                                        
Debt instrument, basis spread on variable rate                         3.00%              
Debt instrument, interest rate, effective percentage               7.50%   5.25%   7.50% 5.25% 7.50%            
Leverage ratio     330.00%       425.00%                          
Debt issuance costs, net                   $ 900,000     $ 900,000              
Long term lines of credit                   0     0       $ 0      
Amortization of debt issuance costs                   $ 100,000   $ 100,000 $ 100,000 $ 100,000            
2019 ABL Credit Amendment Number One and Waiver                                        
Debt Instrument [Line Items]                                        
Debt instrument, non refundable waiver fee                                 $ 7,500      
Leverage ratio     330.00%       425.00%                          
Lender's approval for acquisition, percentage                                 50.10%      
Minimum | 2019 Refinancing Amendment Number One and Waiver                                        
Debt Instrument [Line Items]                                        
Debt instrument, liquidity of loan parties                                     $ 10,000,000  
Minimum | 2019 ABL Credit Agreement                                        
Debt Instrument [Line Items]                                        
Debt instrument, interest rate, stated percentage                   3.00%     3.00%              
Debt instrument, basis spread on variable rate                         2.00%              
Line of credit facility, unused capacity, commitment fee percentage                         0.25%              
Minimum | 2019 ABL Credit Amendment Number One and Waiver                                        
Debt Instrument [Line Items]                                        
Debt instrument, liquidity of loan parties                                     $ 10,000,000  
Maximum | 2019 Refinancing Agreement                                        
Debt Instrument [Line Items]                                        
Leverage ratio                     400.00%                  
Maximum | 2019 ABL Credit Agreement                                        
Debt Instrument [Line Items]                                        
Debt instrument, interest rate, stated percentage                   3.50%     3.50%              
Debt instrument, basis spread on variable rate                         2.50%              
Line of credit facility, unused capacity, commitment fee percentage                         0.375%              
Leverage ratio               400.00%                        
Bridge Loan                                        
Debt Instrument [Line Items]                                        
Debt instrument, periodic payment         $ 250,000                              
London Interbank Offered Rate (LIBOR) | 2019 Refinancing Agreement                                        
Debt Instrument [Line Items]                                        
Reference rate, minimum                                 2.00%      
Debt instrument, basis spread on variable rate                                 11.00%      
London Interbank Offered Rate (LIBOR) | 2019 ABL Credit Agreement                                        
Debt Instrument [Line Items]                                        
Debt instrument, basis spread on variable rate                         2.00%              
Base Rate | 2019 Refinancing Agreement                                        
Debt Instrument [Line Items]                                        
Reference rate, minimum                                 3.00%      
Debt instrument, basis spread on variable rate                                 10.00%      
Base Rate | Bridge Loan                                        
Debt Instrument [Line Items]                                        
Debt instrument, basis spread on variable rate       5.00%                                
Eurodollar | Bridge Loan                                        
Debt Instrument [Line Items]                                        
Debt instrument, basis spread on variable rate       6.00%                                
Forecast | 2019 Refinancing Agreement                                        
Debt Instrument [Line Items]                                        
Line of credit facility, unused capacity, commitment fee percentage                 2.00%                      
Leverage ratio 200.00%         200.00%                 285.00% 461.00%        
Leverage ratio minimum requirement                             4.00 4.00        
Amortization of debt issuance costs                 $ 1,000,000                      
Forecast | 2019 Refinancing Amendment Number One and Waiver                                        
Debt Instrument [Line Items]                                        
Leverage ratio 200.00%                                      
Forecast | 2019 ABL Credit Agreement                                        
Debt Instrument [Line Items]                                        
Leverage ratio 200.00%         175.00%                 285.00% 461.00%        
Leverage ratio minimum requirement                             4.0000          
Forecast | 2019 ABL Credit Amendment Number One and Waiver                                        
Debt Instrument [Line Items]                                        
Leverage ratio 200.00%                                      
Revolving Credit Facility                                        
Debt Instrument [Line Items]                                        
Line of credit facility, maximum borrowing capacity                                       $ 25,000,000.0
Revolving Credit Facility | 2019 ABL Credit Agreement                                        
Debt Instrument [Line Items]                                        
Line of credit facility, maximum borrowing capacity                                 $ 15,000,000.0      
Line of credit facility, current borrowing capacity                                 14,000,000      
Line of credit facility reserved borrowing capacity                                 $ 1,000,000      
Senior Credit Facility Agreement | Revolving Credit Facility                                        
Debt Instrument [Line Items]                                        
Debt instrument, face amount                                   24,000,000    
Senior Credit Facility Agreement | Loans Payable                                        
Debt Instrument [Line Items]                                        
Debt instrument, face amount                                   25,000,000    
Debt instrument, periodic payment, principal                                   $ 900,000