Quarterly report pursuant to Section 13 or 15(d)

Borrowings - Additional Information (Details)

v3.20.2
Borrowings - Additional Information (Details)
1 Months Ended 3 Months Ended 6 Months Ended 12 Months Ended
Jun. 01, 2020
USD ($)
shares
Apr. 13, 2020
USD ($)
Jul. 31, 2019
USD ($)
Mar. 31, 2020
Jun. 30, 2020
USD ($)
Jun. 30, 2019
USD ($)
Dec. 31, 2019
USD ($)
Dec. 31, 2018
USD ($)
Jan. 01, 2019
USD ($)
Installment
Dec. 31, 2017
USD ($)
FinancingArrangement
Debt Instrument [Line Items]                    
Lines of credit repaid principal amount           $ 5,878,000        
Proceeds from PPP Loan         $ 2,289,000          
Other Financing Arrangements                    
Debt Instrument [Line Items]                    
Number of financing arrangements | FinancingArrangement                   3
Debt instrument, face amount                   $ 472,000
Other Financing Arrangement One                    
Debt Instrument [Line Items]                    
Debt instrument, maturity date       2020-06            
Other Financing Arrangement Two                    
Debt Instrument [Line Items]                    
Debt instrument, maturity date       2020-08            
Cares Act                    
Debt Instrument [Line Items]                    
Proceeds from PPP Loan   $ 2,300,000                
Loan and Security Agreement | East West Bank                    
Debt Instrument [Line Items]                    
Maximum borrowings available             $ 0      
Line of credit facility, cancellation date             Jun. 30, 2020      
Subordinated Term Loan and Security Agreement | B. Riley Principal Investments, LLC                    
Debt Instrument [Line Items]                    
Maximum borrowings available     $ 10,000,000   12,000,000          
Minimum principal amount outstanding of defined repayment penalties               $ 10,000,000    
Prepayment penalty description               The prepayment penalty was 1% for 2019 through maturity.    
Interest rate, stated percentage               10.00%    
Debt prepayment penalties percentage               1.00%    
Line of credit facility, maturity date               Sep. 01, 2022    
Outstanding borrowings         0   $ 10,003,000      
Lines of credit repaid principal amount     $ 3,250,000              
Lines of credit repaid principal amount percentage     25.00%              
Percentage of fee incurred     2.00%              
Compounded interest         166,000          
Note Amendment and Debt Cancellation Agreement | B. Riley Principal Investments, LLC                    
Debt Instrument [Line Items]                    
Outstanding indebtedness $ 4,000,000                  
Outstanding borrowings $ 6,170,000                  
Debt instrument redemption date Jun. 09, 2020                  
Conversion shares | shares 8,226,834                  
Promissory Notes Payable                    
Debt Instrument [Line Items]                    
Debt instrument, outstanding balance         $ 472,000   $ 508,000   $ 736,000  
Debt instrument, periodic payment, number of equal quarterly installments | Installment                 20  
Debt instrument, frequency of periodic payment         quarterly          
Promissory Notes Payable | Minimum                    
Debt Instrument [Line Items]                    
Debt instrument, payment term         2 years          
Promissory Notes Payable | Maximum                    
Debt Instrument [Line Items]                    
Interest rate, stated percentage         8.00%          
Debt instrument, payment term         4 years