Annual report pursuant to Section 13 and 15(d)

Debt - Narrative (Details)

v3.21.1
Debt - Narrative (Details)
1 Months Ended 3 Months Ended 12 Months Ended
Jul. 15, 2020
USD ($)
$ / shares
shares
Apr. 10, 2020
USD ($)
Mar. 20, 2020
USD ($)
Jul. 31, 2020
USD ($)
Mar. 31, 2020
USD ($)
Oct. 31, 2019
USD ($)
Apr. 30, 2019
USD ($)
Mar. 31, 2020
USD ($)
Dec. 31, 2020
USD ($)
day
$ / shares
shares
Dec. 31, 2019
USD ($)
shares
Apr. 09, 2020
Dec. 31, 2018
$ / shares
Dec. 31, 2012
$ / shares
Debt Instrument [Line Items]                          
Original issue discount                 $ 1,029,000 $ 0      
Gain (loss) on extinguishment of debt                 $ (2,158,000) $ 0      
Class of warrant or right, outstanding (in shares) | shares                 5,996,112 3,836,112      
Warrant liability $ 2,486,000               $ 1,614,000 $ 0      
Gain on change in fair value of warrants                 $ 872,000 0      
Cane Capital, LLC                          
Debt Instrument [Line Items]                          
Principal amount of note                   $ 195,000      
Contributions for Notes Payable                          
Debt Instrument [Line Items]                          
Related party transaction, amount of transaction               $ 560,000          
Related party transaction, rate               10.00%          
Contributions for Notes Payable | Cane Capital, LLC                          
Debt Instrument [Line Items]                          
Related party transaction, amount of transaction               $ 204,000          
Contributions for Notes Payable | Curo Capital Appreciation Fund, LLC                          
Debt Instrument [Line Items]                          
Related party transaction, amount of transaction               151,000          
Contributions for Notes Payable | Individuals Associated With Chief Executive Officer                          
Debt Instrument [Line Items]                          
Related party transaction, amount of transaction               155,000          
Contributions for Notes Payable | Chief Technology Officer                          
Debt Instrument [Line Items]                          
Related party transaction, amount of transaction               50,000          
Common Stock                          
Debt Instrument [Line Items]                          
Issuance of common stock upon partial conversions of Senior Convertible Note (in shares) | shares                 1,763,675        
Warrants                          
Debt Instrument [Line Items]                          
Warrant, term 3 years                        
Class of warrant or right, outstanding (in shares) | shares 2,160,000                        
Exercise price per share (in dollars per share) | $ / shares                       $ 9.22 $ 5.54
Period for registration statement to be declared effective 90 days                        
Warrants | Common Stock                          
Debt Instrument [Line Items]                          
Exercise price per share (in dollars per share) | $ / shares $ 4.00                        
Convertible notes                          
Debt Instrument [Line Items]                          
Estimated net cash proceeds       $ 1,751,000                  
Interest rate of notes (as a percent) 7.00%               7.00%        
Interest rate, restricted principal (as a percent) 3.00%                        
Gain (loss) on extinguishment of debt       $ (734,000)         $ (1,343,000)        
Installment conversion, redemption price (as a percent) 107.00%                        
Redemption price (as a percent) 107.00%                        
Subsequent placement optional redemption, maximum net proceeds from placement (as a percent) 40.00%                        
Subsequent placement optional redemption, redemption price (as a percent) 107.00%                        
Debt default, redemption price (as a percent) 115.00%                        
Redemption price of outstanding principal (as a percent) 115.00%                        
Redemption price of market value of shares of common stock (as a percent) 115.00%                        
Redemption price of aggregate cash consideration payable (as a percent) 115.00%                        
Conversion price (in dollars per share) | $ / shares $ 3.00               $ 11.50        
Installment conversion, lowest volume weighted average price (as a percent) 85.00%                        
Minimum available cash required at end of each fiscal quarter $ 500,000                        
Participation rights period 2 years                        
Maximum amount of securities sold in equity offerings (as a percent) 30.00%                        
Repayments of debt     $ 2,084,000                    
Value of notes             $ 20,000,000   $ 20,000,000        
Debt instrument, convertible, stock price trigger (in dollars per share) | $ / shares                 $ 17.25        
Consecutive trading days | day                 30        
Maximum number of shares convertible (in shares) | shares                 2,347,826        
Convertible notes | Maximum                          
Debt Instrument [Line Items]                          
Value of notes             $ 20,000,000            
Convertible notes | Minimum                          
Debt Instrument [Line Items]                          
Threshold trading days | day                 20        
Notes Payable to Banks                          
Debt Instrument [Line Items]                          
Interest rate of notes (as a percent)                     0.98%    
Loan proceeds   $ 2,850,000                      
Senior Convertible Note                          
Debt Instrument [Line Items]                          
Principal amount of note         $ 3,000,000     3,000,000          
Original issue discount         240,000     $ 240,000          
Estimated net cash proceeds         $ 2,760,000                
Interest rate of notes (as a percent)         7.00%     7.00%          
Gain (loss) on extinguishment of debt                 $ (81,000)        
Subsequent placement optional redemption, redemption price (as a percent)       110.00%                  
Installment conversion, lowest volume weighted average price (as a percent)                 85.00%        
Proceeds from debt, net of issuance costs         $ 2,371,000                
Principal repayment                 $ 143,000        
Percent of installment amount                 100.00%        
Percent of installment at election of company                 105.00%        
Promissory Notes                          
Debt Instrument [Line Items]                          
Interest rate of notes (as a percent)                 10.00%        
Value of notes           $ 20,000,000              
Period to maintain minimum balance of interest payments                 1 year        
Debt instrument, debt default (as a percent)                 12.00%        
Promissory Notes | Maximum                          
Debt Instrument [Line Items]                          
Value of notes                 $ 20,000,000        
Series A Note | Convertible notes                          
Debt Instrument [Line Items]                          
Principal amount of note $ 4,320,000     $ 4,320,000                  
Original issue discount 320,000                        
Series B Note | Convertible notes                          
Debt Instrument [Line Items]                          
Principal amount of note 17,280,000                        
Original issue discount 1,280,000                        
Minimum market capitalization 40,000,000                        
Maximum mandatory prepayment amount $ 5,000,000                        
Maximum 30 trading day market capitalization (as a percent) 10.00%                        
Investor Note | Secured Debt                          
Debt Instrument [Line Items]                          
Principal amount of note $ 16,000,000                        
Mandatory prepayment amount                 1,000,000        
Voluntary prepayment amount                 4,750,000        
Proceeds from voluntary prepayment amount                 5,750,000        
Unrestricted principal                 5,750,000        
Unrestricted original issue discount                 460,000        
Restricted principal                 $ 11,070,000