Annual report pursuant to Section 13 and 15(d)

Debt - Note Exchanges (Details)

v3.21.1
Debt - Note Exchanges (Details) - USD ($)
$ / shares in Units, $ in Thousands
12 Months Ended
Dec. 31, 2020
Dec. 31, 2019
Debt Instrument [Line Items]    
Principal and Interest $ 9,936 $ 6,917
Shares 6,863,223 1,538,800
Loss on Exchange $ 210 $ 294
March 2020 Note Purchase Agreement and Promissory Note    
Debt Instrument [Line Items]    
Debt instrument, interest rate, stated percentage 10.00%  
Principal and Interest $ 1,150  
Shares 1,076,676  
Loss on Exchange $ 78  
November 2019 Note Purchase Agreement and Promissory Note    
Debt Instrument [Line Items]    
Debt instrument, interest rate, stated percentage 10.00%  
Principal and Interest $ 1,215  
Shares 894,549  
Loss on Exchange $ 0  
September 2019 Note Purchase Agreement and Promissory Note    
Debt Instrument [Line Items]    
Debt instrument, interest rate, stated percentage 10.00%  
Principal and Interest $ 1,120  
Shares 975,704  
Loss on Exchange $ 22  
August 2019 Note Purchase Agreement and Promissory Note    
Debt Instrument [Line Items]    
Debt instrument, interest rate, stated percentage 10.00%  
Principal and Interest $ 2,034  
Shares 1,832,220  
Loss on Exchange $ 25  
June 2019 Note Purchase Agreement and Promissory Note    
Debt Instrument [Line Items]    
Debt instrument, interest rate, stated percentage 10.00%  
Principal and Interest $ 2,236  
Shares 1,372,417  
Loss on Exchange $ 33  
May 2019 Note Purchase Agreement and Promissory Note    
Debt Instrument [Line Items]    
Debt instrument, interest rate, stated percentage 10.00% 10.00%
Principal and Interest $ 1,958 $ 2,076
Shares 524,140 738,891
Loss on Exchange $ 52 $ 96
December 2018 Note Purchase Agreement and Promissory Note    
Debt Instrument [Line Items]    
Debt instrument, interest rate, stated percentage 10.00% 10.00%
Principal and Interest $ 223 $ 2,112
Shares 187,517 707,078
Loss on Exchange $ 0 $ 10
October 2018 Note Purchase Agreement and Promissory Note    
Debt Instrument [Line Items]    
Debt instrument, interest rate, stated percentage   10.00%
Principal and Interest   $ 2,729
Shares   92,831
Loss on Exchange   $ 188
Minimum | March 2020 Note Purchase Agreement and Promissory Note    
Debt Instrument [Line Items]    
Exchange Price $ 1.03  
Minimum | November 2019 Note Purchase Agreement and Promissory Note    
Debt Instrument [Line Items]    
Exchange Price 1.35  
Minimum | September 2019 Note Purchase Agreement and Promissory Note    
Debt Instrument [Line Items]    
Exchange Price 1.14  
Minimum | August 2019 Note Purchase Agreement and Promissory Note    
Debt Instrument [Line Items]    
Exchange Price 1.09  
Minimum | June 2019 Note Purchase Agreement and Promissory Note    
Debt Instrument [Line Items]    
Exchange Price 1.12  
Minimum | May 2019 Note Purchase Agreement and Promissory Note    
Debt Instrument [Line Items]    
Exchange Price 3.65 $ 1.80
Minimum | December 2018 Note Purchase Agreement and Promissory Note    
Debt Instrument [Line Items]    
Exchange Price 1.19 1.80
Minimum | October 2018 Note Purchase Agreement and Promissory Note    
Debt Instrument [Line Items]    
Exchange Price   22.95
Maximum | March 2020 Note Purchase Agreement and Promissory Note    
Debt Instrument [Line Items]    
Exchange Price 1.09  
Maximum | November 2019 Note Purchase Agreement and Promissory Note    
Debt Instrument [Line Items]    
Exchange Price 1.36  
Maximum | September 2019 Note Purchase Agreement and Promissory Note    
Debt Instrument [Line Items]    
Exchange Price 1.17  
Maximum | August 2019 Note Purchase Agreement and Promissory Note    
Debt Instrument [Line Items]    
Exchange Price 1.13  
Maximum | June 2019 Note Purchase Agreement and Promissory Note    
Debt Instrument [Line Items]    
Exchange Price 3.05  
Maximum | May 2019 Note Purchase Agreement and Promissory Note    
Debt Instrument [Line Items]    
Exchange Price 4.05 3.51
Maximum | December 2018 Note Purchase Agreement and Promissory Note    
Debt Instrument [Line Items]    
Exchange Price $ 1.19 4.95
Maximum | October 2018 Note Purchase Agreement and Promissory Note    
Debt Instrument [Line Items]    
Exchange Price   $ 40.45