DEBT (Details Narrative) $ / shares in Units, £ in Thousands | | | | | | | | | | | | | | | | | | | 1 Months Ended | 3 Months Ended | 5 Months Ended | 9 Months Ended | 12 Months Ended | | | | | |
Oct. 27, 2022 USD ($) $ / shares | May 18, 2022 USD ($) $ / shares shares | Oct. 28, 2021 USD ($) | Aug. 05, 2021 USD ($) | Jul. 20, 2021 USD ($) shares | May 06, 2021 shares | Apr. 21, 2021 USD ($) | Feb. 05, 2021 | Jan. 04, 2021 USD ($) shares | Oct. 31, 2020 $ / shares | Oct. 26, 2020 USD ($) $ / shares shares | May 15, 2020 GBP (£) | Aug. 29, 2019 USD ($) shares | Nov. 15, 2018 USD ($) $ / shares shares | Aug. 27, 2018 USD ($) shares | Jun. 28, 2018 GBP (£) | Feb. 08, 2018 GBP (£) | Sep. 15, 2017 USD ($) | May 18, 2022 USD ($) $ / shares shares | Jul. 21, 2021 USD ($) shares | Jul. 31, 2019 GBP (£) | Oct. 01, 2022 USD ($) $ / shares shares | Apr. 02, 2022 $ / shares | Oct. 02, 2021 USD ($) $ / shares | May 28, 2020 USD ($) shares | Oct. 01, 2022 USD ($) $ / shares shares | Oct. 02, 2021 USD ($) $ / shares shares | Jan. 31, 2021 USD ($) | Dec. 28, 2019 | Jul. 02, 2022 USD ($) | Jan. 01, 2022 USD ($) $ / shares | Oct. 31, 2021 $ / shares | Jul. 22, 2021 USD ($) | Jan. 02, 2021 USD ($) |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Stock issued during period, shares, new issues | shares | | | | | | | | | | | | | | | | | | | | | | | | | | 660,858 | 997,400 | | | | | | | |
Divided average closing price | $ / shares | | | | | | | | | | | | | | | | | | | | | | | $ 25 | | | | | | | | | | | |
Proceeds from issuance of debt | | | | | | | | | | | | | | | | | | | | | | | | | | $ 67,000 | | | | | | | | |
Stock Issued During Period, Value, New Issues | | | | | | | | | | | | | | | | | | | | | | $ 3,460,000 | | $ 12,468,000 | | $ 3,460,000 | $ 30,315,000 | | | | | | | |
Preferred stock, par or stated value per share | $ / shares | | | | | | | | | | | | | | | | | | | | | | $ 0.00001 | | | | $ 0.00001 | | | | | $ 0.00001 | | | |
Long term debt, gross | | | | | | | | | | | | | | | | | | | | | | $ 18,361,000 | | | | $ 18,361,000 | | | | | $ 9,758,000 | | | |
Common Stock [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Stock issued during period, shares, new issues | shares | | | | | | | | | | | | | | | | | | | | | | 657,858 | | | | 657,858 | 858,532 | | | | | | | |
Stock Issued During Period, Value, New Issues | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
HSBC Bank [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Principal balance | £ | | | | | | | | | | | | £ 1,000 | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument, Description | | | | | | | | | | | | three-year term loan | | | | | | | | | | | | | | | | | | | | | | |
Long term debt, gross | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $ 345,000 | | | | |
Series E Preferred Stock [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Preferred stock, liquidation preference per share | $ / shares | | | | | | | | | | $ 10,000 | | | | | | | | | | | | | | | | | | | | | | | | |
Preferred stock, redemption amount | | | | | | | | | | | | | | | | | | | | | | | | 4,100,000 | | | 4,100,000 | | | | | | | $ 2,100,000 |
Deemed dividends | | | | | | | | | | | | | | | | | | | | | | | | $ 389,000 | | | $ 389,000 | | | | | | | |
Series G-1 Preferred Stock [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Conversion of stock, shares issued | shares | | | | | 1,561 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Series E-1 Preferred Stock [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Preferred stock, par or stated value per share | $ / shares | | | | | | | | | | $ 60 | | | | | | | | | | | | | | | | | | | | | | | | |
Conversion price | $ / shares | | | | | | | | | | | | | | | | | | | | | | | | $ 60 | | | $ 60 | | | | | $ 60 | | |
Beneficial conversion feature | | | | | | | | | | | | | | | | | | | | | | | | | | | $ 4,280,000 | | | | | | | |
Impact to additional paid-in capital | | | | | | | | | | | | | | | | | | | | | | | | $ 0 | | | $ 0 | | | | | | | |
Series G Preferred Stock [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Preferred stock, redemption amount | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $ 2,080,000 | |
Conversion of stock, shares issued | shares | | | | | 6,172 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Series H Preferred Stock [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Preferred stock redemption description | | | | | | | | | | | | | | | | | | | The redemption price represents the number of shares of the Preferred Stock (9,000,000), plus all accrued but unpaid dividends, multiplied by the Stated Value ($1). On May 18, 2022, the Company paid $14 towards the Series H Preferred Stock balance. | | | | | | | | | | | | | | | |
Preferred stock, par or stated value per share | $ / shares | | $ 0.00001 | | | | | | | | | | | | | | | | | $ 0.00001 | | | | | | | | | | | | | | | |
Long term debt, gross | | | | | | | | | | | | | | | | | | | | | | $ 9,000,000 | | | | $ 9,000,000 | | | | | | | | |
Debt instrument issuance of aggregate shares | shares | | 9,000,000 | | | | | | | | | | | | | | | | | 9,000,000 | | | | | | | | | | | | | | | |
Preferred stock conversion price | $ / shares | | $ 25.714 | | | | | | | | | | | | | | | | | $ 25.714 | | | | | | | | | | | | | | | |
Cash dividends per annum rate | | | | | | | | | | | | | | | | | | | 12% | | | | | | | | | | | | | | | |
Redemption price | | $ 8,265 | | | | | | | | | | | | | | | | | $ 8,265 | | | | | | | | | | | $ 9,000 | | | | |
Fair value financing charge | | $ 735 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Series H Preferred Stock [Member] | Common Stock [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt instrument issuance of aggregate shares | shares | | 350,000 | | | | | | | | | | | | | | | | | 350,000 | | | | | | | | | | | | | | | |
Series H Preferred Stock [Member] | Headway [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Ownership percentage | | 100% | | | | | | | | | | | | | | | | | 100% | | | | | | | | | | | | | | | |
Minimum [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares | | | | | | | | | | | | | | | | | | | | | | $ 5.80 | | | | $ 5.80 | | | | | | | | |
Maximum [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares | | | | | | | | | | | | | | | | | | | | | | $ 3,750,000 | | | | $ 3,750,000 | | | | | | | | |
Jackson Investment Group LLC Term Loan Note Two [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares | | | | | | | | | | | | | | | | | | | | | | | | $ 30 | | | $ 30 | | | | | | | |
12% Senior Secured Note [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Principal balance | | | | | | | | | | | | | | | | | | | | $ 7,733,000 | | | | | | | | | | | | | | |
Debt Instrument, Interest Rate, Stated Percentage | | | | | | | | | | | | | | | | | | | | 12% | | | | | | | | | | | | | | |
Proceeds from issuance of private placement | | | $ 9,250,000 | $ 3,217,000 | $ 6,760,000 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt instrument, periodic payment | | | 13,449,000 | 16,730,000 | 21,700,000 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Proceeds from bank debt | | | $ 4,500,000 | $ 3,281,000 | $ 5,000,000 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
12% Senior Secured Note [Member] | Series G Convertible Preferred Stock [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt conversion, converted instrument, shares issued | shares | | | | | | | | | | | | | | | | | | | | 6,172 | | | | | | | | | | | | | | |
Convertible debt | | | | | | | | | | | | | | | | | | | | $ 6,172,000 | | | | | | | | | | | | | | |
12% Senior Secured Note [Member] | Series G-1 Preferred Stock [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt conversion, converted instrument, shares issued | shares | | | | | | | | | | | | | | | | | | | | 1,561 | | | | | | | | | | | | | | |
Convertible debt | | | | | | | | | | | | | | | | | | | | $ 1,561,000 | | | | | | | | | | | | | | |
Jackson Investment Group, LLC [Member] | Senior Secured 12% Promissory Note [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt instrument, payment terms | | | | | | | | | | | expiration date of January 26, 2024 to January 26, 2026 | | | | | | | | | | | | | | | | | | | | | | | |
Fair value adjustment of debt discount | | | | | | | | | | | $ 126,000 | | | | | | | | | | | | | | | | | | | | | | | |
Jackson Investment Group, LLC [Member] | Senior Secured 12% Promissory Note [Member] | Minimum [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares | | | | | | | | | | | $ 99.60 | | | | | | | | | | | | | | | | | | | | | | | |
Jackson Investment Group, LLC [Member] | Senior Secured 12% Promissory Note [Member] | Maximum [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares | | | | | | | | | | | $ 60 | | | | | | | | | | | | | | | | | | | | | | | |
Jackson Note [Member] | Series E Preferred Stock [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Preferred stock redemption description | | | | | | | | On February 5, 2021, the Company received the Limited Consent from Jackson, the sole holder of the Company’s outstanding shares of Series E Convertible Preferred Stock, to use approximately (i) 75% of the net proceeds from the February 2021 Offering to redeem a portion of the 2020 Jackson Note, which had an outstanding principal amount of $32,710 as of February 9, 2021, and (ii) 25% of the net proceeds from the February 2021 Offering to redeem a portion of the Company’s Series E Convertible Preferred Stock. Pursuant to the Limited Consent, upon closing of the February 2021 Offering, the Company paid $13,556 of the 2020 Jackson Note and redeemed 4,518 shares of the Series E Convertible Preferred Stock. | | | | | | | | | | | | | | | | | | | | | | | | | | |
HSBC Invoice Finance (UK) Ltd [Member] | New Facility [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Increase (Decrease), Net | £ | | | | | | | | | | | | | | | | £ 20,000 | £ 11,500 | | | | £ 22,500 | | | | | | | | | | | | | |
Unbilled receivables | £ | | | | | | | | | | | | | | | | £ 1,500 | £ 1,000 | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Expiration Period | | | | | | | | | | | | | | | | | 12 months | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Commitment Fee Percentage | | | | | | | | | | | | | | | | | 1.80% | | | | | | | | | | | | | | | | | |
2017 Jackson Note [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Principal balance | | | | | | | | | | | | | | | | | | $ 11,165,000 | | | | | | | | | | | | | | | | |
Debt Instrument, Maturity Date | | | | | | | | | | | | | | | | | | Sep. 15, 2020 | | | | | | | | | | | | | | | | |
Debt instrument, payment terms | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The 2017 Jackson Note will accrue interest at 12% per annum, due quarterly on January 1, April 1, July 1 and October 1 in each year, with the first such payment due on January 1, 2018. | | | | | |
Debt Instrument, Interest Rate, Stated Percentage | | | | | | | | | | | | | | | | | | 12% | | | | | | | | | | | | | | | | |
Jackson Note [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Class of warrant or right, outstanding | shares | | | | | | | | | | | 15,092 | | | | | | | | | | | | | | | | | | | | | | | |
Note Purchase Agreement [Member] | 12% Senior Secured Note [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument, Maturity Date | | | | | | | | | | | | | | | | | | | | Sep. 30, 2022 | | | | | | | | | | | | | | |
Debt instrument, interest rate during period | | | | | | | | | | | | | | | | | | | | 17% | | | | | | | | | | | | | | |
Note Purchase Agreement [Member] | 2017 Jackson Note [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Principal balance | | | | | | | | | | | | | | | | | | $ 40,000,000 | | | | | | | | | | | | | | | | |
Amended and Restated Note Purchase Agreement [Member] | Jackson Note [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt instrument, frequency of periodic payment | | | | | | | | | | | | | | | | | | | | | | | | | | | | | quarterly | | | | | |
Debt instrument, date of first required payment | | | | | | | | | | | | | | | | | | Jan. 01, 2018 | | | | | | | | | | | | | | | | |
Debt instrument, interest payment description | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Interest on any overdue payment of principal or interest due under the 2017 Jackson Note will accrue at a rate per annum that is 5% in excess of the rate of interest otherwise payable thereunder. | | | | | |
Debt instrument, incremental percentage on interest rate | | | | | | | | | | | | | | | | | | 5% | | | | | | | | | | | | | | | | |
Amended Agreement [Member] | Jackson Note [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Principal balance | | | | | | | | | | | | | | | $ 8,428,000 | | | | | | | | | | | | | | | | | | | |
Purchase Agreement Closing Fee | | | | | | | | | | | | | | | 280,000 | | | | | | | | | | | | | | | | | | | |
Purchase Agreement Legal Fee | | | | | | | | | | | | | | | $ 39,000 | | | | | | | | | | | | | | | | | | | |
Stock issued during period, shares, new issues | shares | | | | | | | | | | | | | | | 19,200 | | | | | | | | | | | | | | | | | | | |
Fourth Omnibus Amendment and Reaffirmation Agreement [Member] | Jackson Investment Group, LLC [Member] | FirstPro Reporting Unit [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Principal balance | | | | | | | | | | | | | $ 2,538,000 | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument, Interest Rate, Stated Percentage | | | | | | | | | | | | | 18% | | | | | | | | | | | | | | | | | | | | | |
Debt instrument, interest payment description | | | | | | | | | | | | | | | | | | | | | | | All accrued and unpaid interest on the outstanding principal balance of the 2019 Jackson Note was due and payable monthly on the first day of each month, beginning on October 1, 2019. | | | | | | | | | | | |
Debt instrument, date of first interest payment | | | | | | | | | | | | | Oct. 01, 2019 | | | | | | | | | | | | | | | | | | | | | |
Debt instrument, default of payment description | | | | | | | | | | | | | | | | | | | | | | | | | Pursuant to the terms of the 2019 Jackson Note, if the 2019 Jackson Note was not repaid by December 31, 2019, the Company was required to issue 1,667 shares of its common stock to Jackson on a monthly basis until the 2019 Jackson Note is fully repaid, subject to certain exceptions to comply with Nasdaq listing standards. | | | | | | | | | |
Number of common shares issuable on monthly basis in event of default | shares | | | | | | | | | | | | | 1,667 | | | | | | | | | | | | | | | | | | | | | |
Additional expense related to issuance of common stock | | | | | | | | | | | | | | | | | | | | | | | | | $ 324,000 | | | | | | | | | |
Number of common shares issued in event of default | shares | | | | | | | | | | | | | | | | | | | | | | | | | 8,334,000 | | | | | | | | | |
Amended Note Purchase Agreement [Member] | Series E Preferred Stock [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Dividends, Common Stock, Stock | | | | | | | | | | | $ 10,000,000 | | | | | | | | | | | | | | | | | | | | | | | |
Amended Note Purchase Agreement [Member] | Series E-1 Preferred Stock [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt instrument, payment terms | | | | | | | | | | The shares of Series E Convertible Preferred Stock were also convertible into shares of common stock after October 31, 2022. | On October 26, 2020, in connection with the entry into the Amended Note Purchase Agreement, the Company filed with the Secretary of State of the State of Delaware the second Certificate of Amendment (the “Amendment”) to the Series E Certificate of Designation. Under the amended terms, holders of Series E Preferred Stock were entitled to monthly cash dividends on Series E Preferred Stock at a per annum rate of 12%. At the Company’s option, up to 50% of the cash dividend on the Series E Convertible Preferred Stock could be paid in kind by adding such 50% portion to the outstanding liquidation value of the Series E Convertible Preferred Stock (the “PIK Dividend Payment”), commencing on October 26, 2020 and ending on October 25, 2020. | | | | | | | | | | | | | | | | | | | | | | | |
Preferred Stock, Dividend Preference or Restrictions | | | | | | | | | | If such average market price was less than $35.00 or was otherwise undeterminable because such shares were no longer publicly traded or the closing price was no longer reported by Nasdaq, then the average closing price for these purposes was to be deemed to be $35.00, and if such average closing price were greater than $210.00 then the average closing price for these purposes would be deemed to be $210.00. | | | | | | | | | | | | | | | | | | | | | | | | |
Preferred stock, liquidation preference per share | $ / shares | | | | | | | | | | $ 10,000 | | | | | | | | | | | | | | | | | | | | | | | | |
Amended Note Purchase Agreement [Member] | Minimum [Member] | Series E-1 Preferred Stock [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Conversion price | $ / shares | | | | | | | | | | 106.80 | | | | | | | | | | | | | | | | | | | | | | | | |
Amended Note Purchase Agreement [Member] | Maximum [Member] | Series E-1 Preferred Stock [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Conversion price | $ / shares | | | | | | | | | | $ 99.60 | | | | | | | | | | | | | | | | | | | | | | | | |
Amended Note Purchase Agreement [Member] | Jackson Investment Group, LLC [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Amendment fee | | | | | | | | | | | $ 488,000 | | | | | | | | | | | | | | | | | | | | | | | |
Amended Note Purchase Agreement [Member] | Jackson Investment Group, LLC [Member] | Senior Secured 12% Promissory Note [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Principal balance | | | | | | | | | | | $ 35,700,000 | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument, Maturity Date | | | | | | | | | | | Sep. 30, 2022 | | | | | | | | | | | | | | | | | | | | | | | |
Amendment fee | | | | | | | | | | | $ 488,000 | | | | | | | | | | | | | | | | | | | | | | | |
Amended Note Purchase Agreement [Member] | Jackson Investment Group, LLC [Member] | Senior Secured 12% Promissory Note [Member] | Minimum [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument, Interest Rate, Stated Percentage | | | | | | | | | | | | | | | | | | | | | | | | 12% | | | 12% | | | | | | | |
Amended Note Purchase Agreement [Member] | Jackson Investment Group, LLC [Member] | Senior Secured 12% Promissory Note [Member] | Maximum [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument, Interest Rate, Stated Percentage | | | | | | | | | | | | | | | | | | | | | | | | 50% | | | 50% | | | | | | | |
Amended and Restated Warrant Agreement [Member] | Jackson Investment Group LLC Term Loan Note Two [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Principal balance | | | | | | | | | | | | | | | | | | | | | | | | | | | | $ 3,000,000 | | | | | | |
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares | | | | | | | | | | | | | | | | | | | | | | | | $ 210 | | | $ 210 | | | | | | | |
Amended and Restated Warrant Agreement [Member] | Jackson Investment Group, LLC [Member] | Subsequent Event [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares | $ 60 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Amended and Restated Warrant Agreement [Member] | Debt Exchange Agreement [Member] | Jackson Investment Group LLC Term Loan Note Two [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt instrument, payment terms | | | | | | | | | | | | | | | | | | | | | | | For the period of November 2020 through and including March 2021, each monthly interest amount due and payable was reduced by $166, and for the period commencing April 2021 through and including September 2021, each monthly interest amount due and payable was increased by $166. | | | | | | | | | | | |
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares | | | | | | | | | | | | | | | | | | | | | | | | $ 30 | | | $ 30 | | | | | | | |
Prepayment cost | | | | | | | | | | | | | | | | | | | | | | | | | | | | $ 3,029,000 | | | | | | |
Securities Purchase Agreement [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Principal balance | | | | | | | | | $ 33,878,000 | | | | | | | | | | | | | | | | | | | | | | | | | |
Proceeds from debt, net of issuance costs | | | | | | | | | 1,558,000 | | | | | | | | | | | | | | | | | | | | | | | | | |
Stock repurchased during period, value | | | | | | | | | 1,168,000 | | | | | | | | | | | | | | | | | | | | | | | | | |
Securities Purchase Agreement [Member] | Series E Preferred Stock [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Stock repurchased during period, value | | | | | | | | | $ 390,000 | | | | | | | | | | | | | | | | | | | | | | | | | |
Stock repurchased during period, shares | shares | | | | | | | | | 390 | | | | | | | | | | | | | | | | | | | | | | | | | |
Preferred stock, shares outstanding | shares | | | | | | | | | 10,690 | | | | | | | | | | | | | | | | | | | | | | | | | |
Preferred stock par stated value | | | | | | | | | $ 10,690,000 | | | | | | | | | | | | | | | | | | | | | | | | | |
Securities Purchase Agreement [Member] | Jackson Note [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Principal balance | | | | | | | | | $ 32,710,000 | | | | | | | | | | | | | | | | | | | | | | | | | |
April 2021 Securities Purchase Agreement [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Proceeds from issuance of private placement | | | | | | | $ 4,200,000 | | | | | | | | | | | | | | | | | | | | | | | | | | | |
April 2021 Securities Purchase Agreement [Member] | Second Amended and Restated 12% Senior Secured Note [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Proceeds from issuance of debt | | | | | | | 3,200,000 | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt instrument, periodic payment | | | | | | | $ 19,154,000 | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Third Amended and Restated Note Purchase Agreement [Member] | Jackson Investment Group, LLC [Member] | Subsequent Event [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Principal balance | $ 9,000,000 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument, Interest Rate, Stated Percentage | 12% | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument, Description | the Company is required to pay interest on the Jackson Note at a per annum rate of 12% and in the event the Company has not repaid in cash at least 50% of the outstanding principal balance of the Jackson Note by October 27, 2023, then interest on the outstanding principal balance of the Jackson Note shall continue to accrue at 16% per annum of the outstanding principal balance of the Jackson Note until the Jackson Note is repaid in full. | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Exchange Agreement [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Preferred stock, par or stated value per share | $ / shares | | | | | | | | | | | | | | $ 0.00001 | | | | | | | | | | | | | | | | | | | | |
Debt Exchange Agreement [Member] | Series E Preferred Stock [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Stock issued during period, shares, new issues | shares | | | | | | | | | | | | | | 13,000 | | | | | | | | | | | | | | | | | | | | |
Stock Issued During Period, Value, New Issues | | | | | | | | | | | | | | $ 13,000,000 | | | | | | | | | | | | | | | | | | | | |
Preferred stock, par or stated value per share | $ / shares | | | | | | | | | | | | | | $ 10,000 | | | | | | | | | | | | | | | | | | | | |
Stock Issued During Period, Shares, Conversion of Convertible Securities | shares | | | | | | | | | | | | | | 561 | | | | | | | | | | | | | | | | | | | | |
Limited Consent and Waiver [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Agreement description | | | | | | | | the Company entered into a Limited Consent and Waiver with Jackson whereby, among other things, Jackson agreed that we may use 75% of the proceeds from the offering to redeem a portion of the 2020 Jackson Note, and 25% of the net proceeds from the offering to redeem a portion of the Base Series E Preferred Stock notwithstanding certain provisions of the certificate of designation for the Base Series E Preferred Stock that would have required the Company to use all the proceeds from the offering to redeem the Base Series E Preferred Stock. | | | | | | | | | | | | | | | | | | | | | | | | | | |
Exchange Agreement [Member] | Jackson Investment Group, LLC [Member] | Series G Convertible Preferred Stock [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Preferred stock description | | | | | | The Series G Preferred Stock carried monthly dividend rights of (a) cash dividends accruing (i) at an annual rate per share equal to 12% from the date of issuance (plus any accrued dividends with respect to the Series E Preferred Stock unpaid as of the date of the Exchange) and (ii) 17% after the occurrence of a default, and (b) a dividend payable in shares of Series G-1 Convertible Preferred Stock. The shares of Series G-1 Convertible Preferred Stock had all the same terms, preferences and characteristics as the Series G Preferred Stock (including, without limitation, the right to receive cash dividends), except Series G-1 Convertible Preferred Stock were mandatorily redeemable by the Company within thirty (30) days after written demand received from any holder at any time after the earlier of the occurrence of a Preferred Default or September 30, 2022, for a cash payment equal to the liquidation value plus any accrued and unpaid dividends thereon. | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Exchange Agreement [Member] | Jackson Investment Group, LLC [Member] | Series G Preferred Stock [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Preferred stock description | | | | | | Each share of Series G Preferred Stock was initially convertible into 1,000 shares of common stock at any time from and after, (i) with respect to the Series G Preferred Stock, the earlier of October 31, 2022 or the occurrence of a default and, (ii) with respect to the Series G-l Convertible Preferred Stock, October 31, 2020. A holder of Series G Preferred Stock was not required to pay any additional consideration in exchange for conversion of the Series G Preferred Stock into the Company’s common stock. | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Exchange Agreement [Member] | Jackson Investment Group, LLC [Member] | Series E Convertible Preferred Stock [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Stock issued during period, shares, new issues | shares | | | | | | 6,172 | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Exchange Agreement [Member] | Jackson Investment Group, LLC [Member] | Series E-1 Convertible Preferred Stock [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Stock issued during period, shares, new issues | shares | | | | | | 1,493 | | | | | | | | | | | | | | | | | | | | | | | | | | | | |