Quarterly report pursuant to Section 13 or 15(d)

Notes Payable (Details Narrative)

v3.21.2
Notes Payable (Details Narrative) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 6 Months Ended 12 Months Ended
Mar. 31, 2020
Jun. 30, 2021
Dec. 31, 2020
Debt Instrument [Line Items]      
Secured notes   $ 17,504 $ 21,280
Conversion of debt   7,500  
Accrued interest included in the conversion of debt   $ 40  
Shares issued upon conversion of debt   1,256,143,000  
2010 Junior Secured Notes Payable      
Debt Instrument [Line Items]      
Repayment of secured debt $ 2,800    
Payments for accrued interest $ 900    
Security Purchase Agreement | The "2020 Convertible Noteholders"      
Debt Instrument [Line Items]      
Secured notes   $ 17,500 $ 17,500
Terms of debt conversion   At the option of the holders at any time prior to maturity, $10 million in principal amount of the 2020 Secured Convertible Notes are convertible to the Company’s common stock at a conversion price of $6.00, and $7.5 million in principal amount of the 2020 Secured Convertible Notes are convertible at a price of $10.14, subject in both cases to adjustments as set forth in the SPA and the note agreements. The First Closing Notes may be converted at a price of $6.00 per share, subject to certain adjustments set forth in the SPA, and may not be pre-paid without the consent of the noteholder, provided that the Company must offer to pre-pay such other noteholder on the same terms and conditions.
Term of secured notes     5 years
Interest rate terms     bear interest at a rate equal to the sum of (i) the greater of (a) the three (3)-month London Interbank Offered Rate (“LIBOR”) and (b) two percent (2%), plus (ii) a margin of 2% on the outstanding balance of the First Closing Notes, payable quarterly on the first business day of each calendar quarter.
Security Purchase Agreement | First Closing Notes      
Debt Instrument [Line Items]      
Secured notes   $ 200 $ 400
Conversion of debt   7,500  
Accrued interest included in the conversion of debt   $ 40  
Shares issued upon conversion of debt   1,256,143  
Commitment fee     200
Reversal of commitment fee     200
Security Purchase Agreement | Second Closing Note      
Debt Instrument [Line Items]      
Secured notes     $ 3,100
Closing price per share     $ 14.34
Security Purchase Agreement Amended | The "2020 Convertible Noteholders"      
Debt Instrument [Line Items]      
Secured convertible notes, terms and conditions     the Company and the 2020 Convertible Noteholders entered into the Amendment to the SPA, the terms of which, among other provisions, provided for: (a) an increase in the principal amount of the Second Closing Note to $7.5 million; (b) a revision of the interest rate to be borne by the Second Closing Note to consist of: (i) cash interest of 2% per annum, payable quarterly; and (ii) payment-in-kind interest of 5% per annum, accruable quarterly as an addition to the unpaid principal balance of the Second Closing Note; and (c) an increase in the conversion price of the Second Closing Notes to $10.14 per share, subject to certain adjustments set forth in the SPA