Annual report pursuant to Section 13 and 15(d)

Debt - Narrative (Details)

v3.21.1
Debt - Narrative (Details)
12 Months Ended
Sep. 17, 2020
USD ($)
Mar. 18, 2020
USD ($)
Nov. 22, 2019
USD ($)
Aug. 08, 2019
USD ($)
Jun. 27, 2019
USD ($)
May 03, 2019
USD ($)
Feb. 08, 2019
USD ($)
Jan. 29, 2019
USD ($)
$ / shares
shares
Dec. 21, 2018
USD ($)
Aug. 14, 2017
Dec. 31, 2020
USD ($)
$ / shares
Dec. 31, 2019
USD ($)
$ / shares
Feb. 22, 2020
USD ($)
Dec. 17, 2019
USD ($)
Sep. 17, 2019
USD ($)
Aug. 12, 2019
USD ($)
Debt Instrument [Line Items]                                
Amortization of debt discount                     $ 2,594,000 $ 2,221,000        
Principal and Interest                     $ 9,936,000 6,917,000        
Standstill agreement fee                               $ 191,883
Bank line advance rate                   80.00%            
Common stock, par value (in usd per share) | $ / shares                     $ 0.001          
Repayments of notes payable                     $ 74,065 70,000        
Other short term debt                     0 74,000        
Short-term Debt                                
Debt Instrument [Line Items]                                
Interest expense                     700,000 800,000        
Amortization of debt discount                     1,600,000 1,700,000        
Payplant Accounts Receivable Bank Line                                
Debt Instrument [Line Items]                                
Debt instrument, term                   360 days            
Interest rate terms                   30 days            
Interest rate terms on default                   30            
Line of credit facility, interest rate                   2.00%            
March 2020 Note Purchase Agreement and Promissory Note                                
Debt Instrument [Line Items]                                
Principal and Interest                     $ 1,150,000          
Debt instrument, term   12 months 6 months                          
Debt instrument, interest rate, stated percentage                     10.00%          
November 2019 Note Purchase Agreement and Promissory Note                                
Debt Instrument [Line Items]                                
Principal and Interest                     $ 1,215,000          
Debt instrument, term     6 months                          
Debt instrument, interest rate, stated percentage                     10.00%          
May 2019 Note Purchase Agreement and Promissory Note                                
Debt Instrument [Line Items]                                
Principal and Interest                     $ 1,958,000 $ 2,076,000        
Debt instrument, term           10 months                    
Debt instrument, interest rate, stated percentage                     10.00% 10.00%        
August 2019 Note Purchase Agreement and Promissory Note                                
Debt Instrument [Line Items]                                
Principal and Interest                     $ 2,034,000          
Debt instrument, term       9 months                        
Debt instrument, interest rate, stated percentage                     10.00%          
June 2019 Note Purchase Agreement and Promissory Note                                
Debt Instrument [Line Items]                                
Principal and Interest                     $ 2,236,000          
Debt instrument, term         9 months                      
Debt instrument, interest rate, stated percentage                     10.00%          
Base Rate | Payplant Accounts Receivable Bank Line                                
Debt Instrument [Line Items]                                
Basis spread                   0.42%            
Minimum | March 2020 Note Purchase Agreement and Promissory Note                                
Debt Instrument [Line Items]                                
Exchange price (usd per share) | $ / shares                     $ 1.03          
Minimum | November 2019 Note Purchase Agreement and Promissory Note                                
Debt Instrument [Line Items]                                
Exchange price (usd per share) | $ / shares                     1.35          
Minimum | May 2019 Note Purchase Agreement and Promissory Note                                
Debt Instrument [Line Items]                                
Exchange price (usd per share) | $ / shares                     3.65 $ 1.80        
Minimum | August 2019 Note Purchase Agreement and Promissory Note                                
Debt Instrument [Line Items]                                
Exchange price (usd per share) | $ / shares                     1.09          
Minimum | June 2019 Note Purchase Agreement and Promissory Note                                
Debt Instrument [Line Items]                                
Exchange price (usd per share) | $ / shares                     1.12          
Maximum | March 2020 Note Purchase Agreement and Promissory Note                                
Debt Instrument [Line Items]                                
Exchange price (usd per share) | $ / shares                     1.09          
Maximum | November 2019 Note Purchase Agreement and Promissory Note                                
Debt Instrument [Line Items]                                
Exchange price (usd per share) | $ / shares                     1.36          
Maximum | May 2019 Note Purchase Agreement and Promissory Note                                
Debt Instrument [Line Items]                                
Exchange price (usd per share) | $ / shares                     4.05 $ 3.51        
Maximum | August 2019 Note Purchase Agreement and Promissory Note                                
Debt Instrument [Line Items]                                
Exchange price (usd per share) | $ / shares                     1.13          
Maximum | June 2019 Note Purchase Agreement and Promissory Note                                
Debt Instrument [Line Items]                                
Exchange price (usd per share) | $ / shares                     $ 3.05          
March 2020 Note Purchase Agreement and Promissory Note                                
Debt Instrument [Line Items]                                
Principal and Interest   $ 6,465,000                            
Original issue discount   $ 1,450,000                            
Payment to be made in proportion to outstanding balance, percentage   1.15                            
Debt instrument redemption price percent                     33.33%          
Debt instrument, interest rate, stated percentage   10.00%                 10.00%          
Debt discount   $ 15,000                            
Aggregate purchase price   $ 5,000,000                            
Default interest rate   22.00%                            
November 2019 Note Purchase Agreement and Promissory Note                                
Debt Instrument [Line Items]                                
Original issue discount     $ 187,500                          
Aggregate principal amount of note     $ 952,500                          
Note monitoring fee                         $ 97,688      
Debt instrument, interest rate, stated percentage     10.00%               10.00%          
Debt discount     $ 15,000                          
Aggregate purchase price     $ 750,000                          
September 2019 Note Purchase Agreement and Promissory Note                                
Debt Instrument [Line Items]                                
Original issue discount $ 187,500                              
Aggregate principal amount of note                             $ 952,500  
Note monitoring fee                           $ 97,661    
Debt instrument, interest rate, stated percentage                     10.00%       10.00%  
Debt discount                             $ 15,000  
Aggregate purchase price $ 750,000                              
August 2019 Note Purchase Agreement and Promissory Note                                
Debt Instrument [Line Items]                                
Original issue discount       $ 375,000                        
Aggregate principal amount of note       $ 1,895,000                        
Debt instrument, interest rate, stated percentage       10.00%             10.00%          
Debt discount       $ 20,000                        
Aggregate purchase price       1,500,000                        
June 2019 Note Purchase Agreement and Promissory Note                                
Debt Instrument [Line Items]                                
Original issue discount         $ 375,000                      
Aggregate principal amount of note         $ 1,895,000                      
Debt instrument, interest rate, stated percentage         10.00%           10.00%          
Debt discount         $ 20,000                      
Aggregate purchase price         $ 1,500,000                      
May 2019 Note Purchase Agreement and Promissory Note                                
Debt Instrument [Line Items]                                
Principal and Interest           $ 3,770,000                    
Original issue discount           750,000                    
Debt transaction costs           20,000                    
Debt instrument, interest rate, stated percentage                     10.00%          
Aggregate purchase price           $ 3,000,000                    
December 2018 Note Purchase Agreement and Promissory Note                                
Debt Instrument [Line Items]                                
Original issue discount                 $ 375,000              
Aggregate principal amount of note                 $ 1,895,000              
Standstill agreement fee       $ 206,149                        
Increase (decrease) in notes payable             $ 40,000                  
Debt instrument, fee amount             $ 80,000                  
Debt instrument, interest rate, stated percentage                 10.00%   10.00%          
Debt discount                 $ 20,000              
Aggregate purchase price                 $ 1,500,000              
November 2017 Note Purchase Agreement and Promissory Note                                
Debt Instrument [Line Items]                                
Aggregate principal amount of note               $ 383,768                
Common shares issued for extinguishment of debt (in shares) | shares               3,842                
Common stock, par value (in usd per share) | $ / shares               $ 99.90                
Debt instrument, interest rate, stated percentage                     10.00%