STOCKHOLDERS’ EQUITY (Details Narrative) - USD ($) $ / shares in Units, $ in Thousands | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1 Months Ended | 4 Months Ended | 12 Months Ended | | | | | | | | | | |
Dec. 31, 2022 | Oct. 27, 2022 | Jul. 07, 2022 | Jul. 01, 2022 | Jun. 24, 2022 | Dec. 27, 2021 | Oct. 28, 2021 | Oct. 26, 2021 | Oct. 14, 2021 | Aug. 22, 2021 | Aug. 05, 2021 | Jul. 22, 2021 | Jul. 21, 2021 | Jul. 20, 2021 | Jun. 30, 2021 | May 06, 2021 | May 06, 2021 | Apr. 21, 2021 | Feb. 12, 2021 | Feb. 09, 2021 | Feb. 05, 2021 | Jan. 08, 2021 | Jan. 02, 2021 | Dec. 21, 2020 | Oct. 26, 2020 | Oct. 23, 2020 | Sep. 28, 2020 | Jun. 30, 2020 | Jan. 21, 2020 | Nov. 15, 2019 | Feb. 08, 2019 | Jan. 22, 2019 | Jun. 15, 2017 | Jan. 28, 2014 | Oct. 28, 2021 | Jul. 21, 2021 | Jul. 20, 2021 | Feb. 28, 2021 | Jan. 31, 2019 | May 29, 2015 | Dec. 31, 2022 | Dec. 31, 2022 | Jan. 01, 2022 | Oct. 26, 2021 | Oct. 25, 2022 | Dec. 31, 2021 | Dec. 26, 2021 | Jan. 04, 2021 | Dec. 31, 2020 | Dec. 29, 2020 | Oct. 31, 2020 | May 30, 2018 | Jan. 26, 2017 | Sep. 23, 2015 |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Common stock, shares authorized | 200,000,000 | | | | | 200,000,000 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 200,000,000 | 200,000,000 | 200,000,000 | | | | 40,000,000 | | | | | | | |
Common stock, par value | $ 0.00001 | | | | | $ 0.00001 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $ 0.00001 | $ 0.00001 | $ 0.00001 | | | | | | | | | | | |
Common Stock, Shares, Issued | 2,629,199 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2,629,199 | 2,629,199 | 1,758,835 | | | 1,758,835 | | | | | | | | |
Common Stock, Shares, Outstanding | 2,629,199 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2,629,199 | 2,629,199 | 1,758,835 | | | 1,758,835 | | | | | | | | |
Common stock issued ammended | $ 3.06 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $ 3.06 | $ 3.06 | | | | | | | | | | | | |
Sale of common stock and warrants, shares | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 856,858 | 1,477,110 | | | | | | | | | | | |
Proceeds from Issuance of Common Stock | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $ 775 | | | | | | | | | | | | | | | | | | | | | | |
Stockholders' Equity, Reverse Stock Split | | | | | one-for-ten reverse stock split | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Outstanding principal amount | $ 18,265 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $ 18,265 | $ 18,265 | $ 9,758 | | | | | | | | | | | |
Proceeds used to pay accrued and unpaid interest and outstanding principal balance of outstanding note | | | | | | | | | | | | $ 5,000 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Aggregate value of shares issued | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $ 3,433 | $ 38,639 | | | | | | | | | | | |
Grants in period shares | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 63,000 | 19,115 | | | | | | | | | | | |
Share-Based Payment Arrangement, Expense | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $ 623 | $ 377 | | | | | | | | | | | |
Preferred stock, shares authorized | 20,000,000 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 20,000,000 | 20,000,000 | 20,000,000 | | | | | | | | | | | |
Preferred Stock, Par or Stated Value Per Share | $ 0.00001 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $ 0.00001 | $ 0.00001 | $ 0.00001 | | | | | | | | | | | |
Expiration date | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Oct. 27, 2027 | | | | | | | | | | | | |
Number of remaining shares | 148,727 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 148,727 | 148,727 | | | | | | | | | | | | |
Number of shares reserved for issuance | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9,000 | | | | | | | | | | | | |
Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Grants in Period, Gross | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 50,000 | | | | | | | | | | | | |
Equity Incentive Plan [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Number of remaining shares | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5,000 | | | | | | | | | | | | | | | | | | | | |
Plan expiration date | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Jan. 28, 2024 | | | | | | | | | | | | | | | | | | | | |
Number of shares reserved for issuance | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5,000 | | | | | | | | | | | | |
Two Thousand Fifteen Omnibus Incentive Plan [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Number of remaining shares | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9,000 |
Number of unissued securities | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0 | | | | | | | | | | | | |
Omnibus Incentive Plan [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Share-Based Payment Arrangement, Expense | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $ 70 | $ 27 | | | | | | | | | | | |
Number of remaining shares | 1,573 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1,573 | 1,573 | | | | | | | | | | 125,000 | 50,000 | |
Number of shares reserved for issuance | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 123,428 | | | | | | | | | | | | |
Compensation cost related to options not yet amortized | $ 262 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $ 262 | $ 262 | | | | | | | | | | | | |
Compensation cost recognition period | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6 years 29 days | | | | | | | | | | | | |
Share-Based Compensation Arrangement by Share-Based Payment Award, Shares Purchased for Award | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 351,273 | | | | | | | | | | | | |
Two Thousand Ninteen Long Term Incentive Plan [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Sale of common stock and warrants, shares | | | | | | | | | | | | | | | | | | | | | | 2,584 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Grants in Period, Gross | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6,084 | | | | | | | | | | | | | | | |
Units vesting upon employees being in good standing percentages | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 50% | | | | | | | | | | | | | | | |
Units vesting upon average share price percentages | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 50% | | | | | | | | | | | | | | | |
Two Thousand Twenty Omnibus Incentive Plan [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Share-Based Payment Arrangement, Expense | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $ 0 | 4 | | | | | | | | | | | |
Number of remaining shares | 12,500 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 12,500 | 12,500 | | | | | | | | | | | | |
Number of shares reserved for issuance | | | | | | | | | | | | | | | | | | | | | | | | | | | | 12,500 | | | | | | | | | | | | | | | | | | | | | | | | | | |
Share-Based Compensation Arrangement by Share-Based Payment Award, Shares Purchased for Award | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0 | | | | | | | | | | | | |
Two Thousand Twenty One Omnibus Incentive Plan [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Number of remaining shares | | | | | | 500,000 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Number of shares reserved for issuance | | | | | | | | | 200,000 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Share-Based Compensation Arrangement by Share-Based Payment Award, Number of Additional Shares Authorized | | | | | | 300,000 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Restricted Stocks [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Share-Based Payment Arrangement, Expense | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $ 511 | $ 374 | | | | | | | | | | | |
Jackson Note [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Common stock issued ammended | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 24,332 | | | | | | | | | |
Sale of common stock and warrants, shares | | 100,000 | | | | | | 24,332 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Class of warrant or right exercisable term | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5 years | | | | | | | | | |
Aggregate value of shares issued | | $ 257 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Class of warrant or right, outstanding | | 15,093 | | | | | | | | | | | | | | | | | | | | | | | 15,092 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Fair value adjustment of warrants | | $ 29 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
FirstPro Reporting Unit [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt instrument redemption amount | | | | | | | | | | | $ 3,281 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Outstanding principal amount | | | | | | | | | | | $ 16,730 | | | $ 16,077 | | | | | | | | | | | | | | | | | | | | | | | $ 16,077 | | | | | | | | | | | | | | | | | |
Debt instrument, face amount | | | | | | | | | | | | | $ 7,733 | | | | | | | | | | | | | | | | | | | | | | | $ 7,733 | | | | | | | | | | | | | | | | | | |
Debt Instrument, Interest Rate, Stated Percentage | | | | | | | | | | | | | 12% | | | | | | | | | | | | | | | | | | | | | | | 12% | | | | | | | | | | | | | | | | | | |
Series E Convertible Preferred Stock [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Preferred Stock, Shares Outstanding | 0 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0 | 0 | 0 | | | | | | | | | | | |
Conversion of stock, shares converted | | | | | | | | | | | | | | | | | 6,172 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Series F Preferred Stock [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Share issued, per share | | | | | | | | | | | | | | | | | | $ 43.50 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Preferred Stock, Shares Outstanding | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0 | | | | | | | | | | | |
Series E-1 Preferred Stock [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt instrument, beneficial conversion feature | | | | | | | | | | | | | | | | | | | | | | | $ 4,280 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Preferred Stock, Par or Stated Value Per Share | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $ 60 | | | |
Series G Preferred Stock [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Conversion of Stock, Shares Issued | | | | | | | | | | | | | | 617,200 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Series G Convertible Preferred Stock [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Stock Issued During Period, Shares, Conversion of Convertible Securities | | | | | | | | | | | | | 6,172 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Preferred Stock, Shares Outstanding | 0 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0 | 0 | | | | | | | | | | | | |
Series G Convertible Preferred Stock [Member] | FirstPro Reporting Unit [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt conversion, converted instrument, shares issued | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6,172 | | | | | | | | | | | | | | | | | | |
Convertible debt | | | | | | | | | | | | | $ 6,172 | | | | | | | | | | | | | | | | | | | | | | | $ 6,172 | | | | | | | | | | | | | | | | | | |
Series G-1 Preferred Stock [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Conversion of Stock, Shares Issued | | | | | | | | | | | | | | 156,100 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Series G-1 Preferred Stock [Member] | FirstPro Reporting Unit [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt conversion, converted instrument, shares issued | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1,561 | | | | | | | | | | | | | | | | | | |
Convertible debt | | | | | | | | | | | | | $ 1,561 | | | | | | | | | | | | | | | | | | | | | | | $ 1,561 | | | | | | | | | | | | | | | | | | |
Series A Preferred Stock [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Preferred Stock, Par or Stated Value Per Share | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $ 10 | | | | | | | | | | | | | | | | | | | | | |
Preferred stock, dividend rate, percentage | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 12% | | | | | | | | | | | | | | | | | | | | | |
Conversion of stock, shares converted | | | | | | | | | | | | | | | | | | | | | | 451 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Dividends, Preferred Stock | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $ 125 | $ 125 | | | | | | | | | | | |
Series A Preferred Stock Related Party [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Common stock, par value | $ 0.00001 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $ 0.00001 | $ 0.00001 | | | | | | | | | | | | |
Preferred stock, dividend rate, percentage | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 12% | | | | | | | | | | | | |
Preferred stock, voting rights | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Shares of the Series A Preferred Stock were convertible into shares of common stock at the holder’s election at any time prior to December 31, 2020 (the “Redemption Date”), at a conversion rate of one and three tenths (1.3) shares of common stock for every 50 shares of Series A Preferred Stock that the holder elects to convert. Originally the redemption date was December 31, 2018, and this was extended to December 31, 2020 in January 2019. Except as otherwise required by law, the Series A Preferred Stock had no voting rights | | | | | | | | | | | | | | |
Preferred stock, shares issued | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1,663,008 | | | | | | | | | | | | | | |
Redemption purchase price per share | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $ 500 | | | | | | | | | | | | | | |
Series E Preferred Stock [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Stock Repurchased During Period, Shares | | | | | | | | | | | | | | | | | | | | | | | | | | | 1,300 | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Preferred stock, redemption terms | | | | | | | | | | | | | | | | | | | | | | | | | | | shares of Series E Preferred Stock for $1,300, as such there were 11,700 shares of Series E Preferred Stock outstanding. | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Number of common stock issuable on conversion of preferred stock | 56.18 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 56.18 | $ 56.18 | | | | | | | | | | | | |
Preferred Stock, Shares Outstanding | | | | | | | | | | | | | | | | | | | | | | | | | | | 11,700 | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Preferred stock, dividend rate, percentage | | | | | | | | | | | | | | | | | | | | | | | | | | 12% | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Redemption purchase price per share | 10,000 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 10,000 | 10,000 | | | | | | | | | | | | |
Preferred Stock, Dividend Preference or Restrictions | | | | | | | | | | | | | | | | | | | | | | | | | | If the PIK Dividend Payment is elected, a holder of Series E Preferred Stock is entitled to additional fee to be paid in shares of the Company’s common stock an amount equal to $100 divided by the average closing price, as reported by Nasdaq of such shares of common stock over the 5 trading days prior to the applicable monthly interest payment date. | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Series E One Preferred Stocks [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Preferred Stock, Liquidation Preference Per Share | | | | | | | | | | | | | | | | | | | | | | | | | | $ 60,000,000 | | | | | | | | | | | | | | | | | | | | | | | | | 60 | | | |
Series E Preferred Stocks [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Preferred Stock, Liquidation Preference Per Share | | | | | | | | | | | | | | | | | | | | | | | | | | $ 60 | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Preferred Stock, Liquidation Preference, Value | | | | | | | | | | | | | | | | | | | | | | | | | | $ 60,000 | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Series E-1 Convertible Preferred Stock [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Conversion of stock, shares converted | | | | | | | | | | | | | | | | | 1,493 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Series G One Convertible Preferred Stock [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Stock Issued During Period, Shares, Conversion of Convertible Securities | | | | | | | | | | | | | 1,561 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Preferred Stock, Shares Outstanding | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0 | | | | | | | | | | | |
Series G Convertible Preferred Stock and Series G 1 Convertible Preferred Stock [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Stock Issued During Period, Value, Conversion of Convertible Securities | | | | | | | | | | | | | $ 7,733 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Jackson Note [Member] | Series E Convertible Preferred Stock [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Preferred stock, redemption terms | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prior to the February 2021 Offering, the Company entered the Limited Consent with Jackson, whereby, among other things, Jackson agreed that we may use 75% of the proceeds from the February 2021 Offering to redeem a portion of the 2020 Jackson Note, which at the time had an outstanding principal amount of $32,710, and 25% of the net proceeds from the Offering to redeem a portion of our Series E Convertible Preferred Stock, notwithstanding certain provisions of the Series E Certificate of Designation that would have required us to use all the proceeds from the Offering to redeem the Series E Convertible Preferred Stock | | | | | | | | | | | | | | | | |
Jackson Investment Group, LLC [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument, Interest Rate, Stated Percentage | | | | | | | 16% | | | | | | | | | | | | | | | | | | | | | | | | | | | | 16% | | | | | | | | | | | | | | | | | | | |
Jackson Investment Group, LLC [Member] | Series G One Convertible Preferred Stock [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Stock Issued During Period, Value, Conversion of Convertible Securities | | | | | | | | | | | | | 1,561 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Jackson Investment Group, LLC [Member] | Series G Convertible Preferred Stock and Series G 1 Convertible Preferred Stock [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Stock Issued During Period, Value, Conversion of Convertible Securities | | | | | | | | | | | | | $ 6,172 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Public Offering [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Sale of common stock and warrants, shares | | | | | | | | | | | | | | | | | | | | 364,255 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Share issued, per share | | | | | | | | | | | | | | | | | | | | $ 54 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Proceeds from Issuance of Common Stock | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $ 18,100 | | | | | | | | | | | | | | | | |
Public Offering [Member] | Series E Convertible Preferred Stock [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Preferred stock, redemption terms | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Following the redemption of the Series E Convertible Preferred Stock, the Company had 6,172 shares of Series E Convertible Preferred Stock outstanding with an aggregate stated value of $6,172 | | | | | | | | | | | | | | | | |
Public Offering [Member] | Jackson Note [Member] | Series E Convertible Preferred Stock [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Stock Repurchased During Period, Shares | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4,518 | | | | | | | | | | | | | | | | |
Preferred stock, redemption terms | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | shares of the Series E Convertible Preferred Stock | | | | | | | | | | | | | | | | |
Registered Direct Offering [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Proceeds from Issuance Initial Public Offering | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $ 6,760 | | | | | | | | | | | | | | | | | |
Conversion Of Series A [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Conversion of stock, shares converted | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 271 | | | | | | | | | | | | | | | | | | | | | | | | | |
Minimum [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Common stock issued ammended | 3.06 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3.06 | 3.06 | | | | | | | | | | | | |
Minimum [Member] | Series E Preferred Stock [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Preferred Stock, Dividend Rate, Per-Dollar-Amount | | | | | | | | | | | | | | | | | | | | | | | | | | $ 35 | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Minimum [Member] | Jackson Investment Group, LLC [Member] | Senior Secured 12% Promissory Note [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Common stock issued ammended | | $ 60 | | | | | $ 60 | | | | | | | | | | | | | | | | | | $ 99.60 | | | | | | | | | | $ 60 | | | | | | | | | | | | | | | | | | | |
Share issued, per share | | $ 3.06 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Warrants expiration date | | Oct. 27, 2027 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Maximum [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Common stock issued ammended | $ 3,750 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $ 3,750 | $ 3,750 | | | | | | | | | | | | |
Maximum [Member] | Series E Preferred Stock [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Preferred stock, dividend rate, percentage | | | | | | | | | | | | | | | | | | | | | | | | | | 50% | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Proceeds from Issuance or Sale of Equity | $ 3,000 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $ 3,000 | | | | | | | | | | | | | | | | | | | | | | | | |
Preferred Stock, Dividend Rate, Per-Dollar-Amount | | | | | | | | | | | | | | | | | | | | | | | | | | $ 5 | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Maximum [Member] | Jackson Investment Group, LLC [Member] | Senior Secured 12% Promissory Note [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Common stock issued ammended | | $ 3.06 | | | | | $ 3.06 | | | | | | | | | | | | | | | | | | $ 60 | | | | | | | | | | $ 3.06 | | | | | | | | | | | | | | | | | | | |
Warrants expiration date | | | | | | | Oct. 27, 2027 | | | | | | | | | | | | | | | | | | | | | | | | | | | | Oct. 27, 2027 | | | | | | | | | | | | | | | | | | | |
PreFunded Warrants [Member] | Public Offering [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Common stock issued ammended | | | | | | | | | | | | | | | | | | | 16,735 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Common stock issued ammended | | | | | | | | | | | | | | | | | | | $ 0.0001 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Share issued, per share | | | | | | | | | | | | | | | | | | | $ 54 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Common Stock [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Sale of common stock and warrants, shares | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 657,858 | 1,326,887 | | | | | | | | | | | |
Aggregate value of shares issued | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Common Stock [Member] | Public Offering [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Sale of common stock and warrants, shares | | | | | | | | | | | | | | | | | | | 347,520 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Common Stock [Member] | Underwritten Public Offering [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Sale of common stock and warrants, shares | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 242,500 | | | | | | | | | | | | | | | | | | | | | | | |
Share issued, per share | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $ 16.50 | | | | | | | | | | | | | | | | | | | | | | | |
Designated Shares [Member] | Series A Preferred Stock [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Preferred stock, shares authorized | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1,663,008 | | | | | | | | | | | | | | |
Preferred Stock, Par or Stated Value Per Share | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $ 0.00001 | | | | | | | | | | | | | | |
Securities Purchase Agreement [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Common stock, par value | | | | | | | $ 0.00001 | | | | | | | | | | | | | | | | | | | | | | | | | | | | $ 0.00001 | | | | | | | | | | | | | | | | | | | |
Common stock issued ammended | 15,093 | | | 657,858 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 15,093 | 15,093 | | | | | | | | | | | | |
Common stock issued ammended | | | | $ 5.85 | | | $ 19.75 | | | | | | | | | | | | | | | | | | | | | | | | | | | | $ 19.75 | | | | | | | | | | | | | | | | | | | |
Sale of common stock and warrants, shares | | | | | | | 468,355 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 24,332 | | | | | | | | | | | | |
Debt instrument, face amount | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $ 33,878 | | | | | | |
Securities Purchase Agreement [Member] | Series E Preferred Stock [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Preferred stock, redemption terms | | | | | | | | | | | | | | | | | | | | | 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 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Preferred Stock, Shares Outstanding | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 10,690 | | | | | | |
Securities Purchase Agreement [Member] | Registered Direct Offering [Member] | Institutional Investors [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Common stock issued ammended | | | | | | | | | | | | | | 109,957 | | | | | | | | | | | | | | | | | | | | | | | 109,957 | | | | | | | | | | | | | | | | | |
Common stock issued ammended | | | | | | | | | | | | | | $ 38 | | | | | | | | | | | | | | | | | | | | | | | $ 38 | | | | | | | | | | | | | | | | | |
Sale of common stock and warrants, shares | | | | | | | | | | | | | | 219,914 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Share issued, per share | | | | | | | | | | | | | | $ 34.50 | | | | | | | | | | | | | | | | | | | | | | | $ 34.50 | | | | | | | | | | | | | | | | | |
Percentage of common stock offered | | | | | | | | | | | 50% | | | 50% | | | | | | | | | | | | | | | | | | | | | | | 50% | | | | | | | | | | | | | | | | | |
Securities Purchase Agreement [Member] | Private Placement [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Aggregate cash fee percentage | | | | | | | 1% | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Cash fee percentage | | | | | | | 7.50% | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Securities Purchase Agreement [Member] | Minimum [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Common stock issued ammended | $ 60 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $ 60 | $ 60 | | | | | | | | | | | | |
Securities Purchase Agreement [Member] | Maximum [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Common stock issued ammended | $ 3.06 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $ 3.06 | $ 3.06 | | | | | | | | | | | | |
Securities Purchase Agreement [Member] | PreFunded Warrants [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Common stock issued ammended | | | | $ 6.10 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Securities Purchase Agreement [Member] | Warrant [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Common stock issued ammended | | | | | | | 468,355 | | | | | | | | | | | | | | | | | | | | | | | | | | | | 468,355 | | | | | | | | | | | | | | | | | | | |
Common stock issued ammended | | | | | | | $ 18.50 | | | | | | | | | | | | | | | | | | | | | | | | | | | | $ 18.50 | | | | | | | | | | | | | | | | | | | |
Securities Purchase Agreement [Member] | Warrant [Member] | Private Placement [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Common stock issued ammended | | | | | | | 351.27 | | | | | | | | | | | | | | | | | | | | | | | | | | | | 351.27 | | | | | | | | | | | | | | | | | | | |
Common stock issued ammended | | | | | | | $ 24.688 | | | | | | | | | | | | | | | | | | | | | | | | | | | | $ 24.688 | | | | | | | | | | | | | | | | | | | |
Non accountable expense | | | | | | | $ 35 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Securities Purchase Agreement [Member] | Prefunded Warrant [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Common stock issued ammended | | | | | | | $ 19.75 | | | | | | | | | | | | | | | | | | | | | | | | | | | | $ 19.75 | | | | | | | | | | | | | | | | | | | |
Warrant Amendment Agreement [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Common stock issued ammended | | | 657,858 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Common stock issued ammended | | | $ 5.85 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Warrants expiration description | | | | expiration dates ranging from July 22, 2026, to November 1, 2026 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Warrants exercise price | | | | $ 5.85 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Incremental fair value | | | $ 837 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Warrant Amendment Agreement [Member] | Minimum [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Common stock issued ammended | | | $ 18.50 | 18.50 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Warrant Amendment Agreement [Member] | Maximum [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Common stock issued ammended | | | $ 38 | $ 38 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Warrant Amendment Agreement [Member] | Nine Existing Participating Investors [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Common stock issued ammended | | | | 657,858 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
April 2021 Securities Purchase Agreement [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Proceeds from issuance of private placement | | | | | | | | | | $ 2,466 | | | | | | | | $ 4,200 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
April 2021 Securities Purchase Agreement [Member] | Second Amended and Restated 12% Senior Secured Note [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Grants in period shares | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 68,592 | | | | | | | | | | | | |
April 2021 Securities Purchase Agreement [Member] | Second Amended and Restated 12% Senior Secured Note [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt instrument redemption amount | | | | | | | | | | | | | | | | | | 3,200 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Outstanding principal amount | | | | | | | | | | | | | | | | | | 19,154 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt instrument, periodic payment | | | | | | | | | | | | | | | | | | $ 1,000 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
April 2021 Securities Purchase Agreement [Member] | Series F Preferred Stock [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Stock Issued During Period, Shares, Conversion of Convertible Securities | | | | | | | | | | | | | | | | | | 130,491 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Number of common stock issuable on conversion of preferred stock | | | | | | | | | | | | | | | | | | $ 36 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Stockholders' Equity, Reverse Stock Split | | | | | | | | | | | | | | | On June 30, 2021, the Company effectuated the 1-into-6 Reverse Stock Split | | | effect a reverse split within a range of 1-into-2 to up to 1-into-20 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt instrument, beneficial conversion feature | | | | | | | | | | | | | | | | | | $ 1,409 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
April 2021 Securities Purchase Agreement [Member] | Certain In stitutional And Accredited Investors [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Common stock issued ammended | | | | | | | | | | | | | | | | | | 130,491 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Common stock issued ammended | | | | | | | | | | | | | | | | | | $ 36 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
April 2021 Securities Purchase Agreement [Member] | Certain In stitutional And Accredited Investors [Member] | Series F Preferred Stock [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Common stock issued ammended | | | | | | | | | | | | | | | | | | 130,491 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Common stock issued ammended | | | | | | | | | | | | | | | | | | $ 36 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Number of warrants sold | | | | | | | | | | | | | | | | | | 4,698 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Proceeds from issuance of private placement | | | | | | | | | | | | | | | | | | $ 1,000 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
April 2021 Securities Purchase Agreement [Member] | Series F Convertible Preferred Stock [Member] | Certain In stitutional And Accredited Investors [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Number of warrants sold | | | | | | | | | | | | | | | | | | 4,698 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Proceeds from issuance of private placement | | | | | | | | | | | | | | | | | | $ 1,000 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Exchange Agreement [Member] | Jackson Investment Group, LLC [Member] | Series E Convertible Preferred Stock [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Sale of common stock and warrants, shares | | | | | | | | | | | | | | | | | 6,172 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Exchange Agreement [Member] | Jackson Investment Group, LLC [Member] | Series E-1 Preferred Stock [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Sale of common stock and warrants, shares | | | | | | | | | | | | | | | | | 1,493 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Exchange Agreement [Member] | Jackson Investment Group, LLC [Member] | Series G Preferred Stock [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Preferred stock description | | | | | | | | | | | | | | | | Each share of Series G Preferred Stock is initially convertible into 100 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 is not required to pay any additional consideration in exchange for conversion of the Series G Preferred Stock into the Company’s common stock | 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 G Convertible Preferred Stock [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Preferred stock description | | | | | | | | | | | | | | | | The Series G Preferred Stock carries 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 have 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 are 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 | 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 E-1 Convertible Preferred Stock [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Sale of common stock and warrants, shares | | | | | | | | | | | | | | | | | 1,493 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Engagement Letter [Member] | H.C. Wainwright & Co., LLC [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Common stock issued ammended | | | | | | | | | | | 10,374 | | | | | | | | | | | | | 16,494 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Common stock issued ammended | | | | | | | | | | | $ 33.031 | | | | | | | | | | | | | $ 43.125 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Percentage of common stock offered | | | | | | | | | | | 7.50% | | | | | | | | | | | | | 7.50% | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Percentage of cash fee on gross proceeds | | | | | | | | | | | | | | | | | | | | | | | | 7.50% | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Percentage of management fee on gross proceeds | | | | | | | | | | | | | | | | | | | | | | | | 1% | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Non accountable expense allowance | | | | | | | | | | | $ 50 | | | | | | | | | | | | | $ 85 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Clearing expenses | | | | | | | | | | | $ 13 | | | | | | | | | | | | | $ 13 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Class of warrant or right exercisable term | | | | | | | | | | 5 years | 5 years | | | | | | | | | | | | | 5 years | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Percentage of exercise price of warrant on offering price per share | | | | | | | | | | 125% | 125% | | | | | | | | | | | | | 125% | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Aggregate cash fee percentage | | | | | | | | | | | 7.50% | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Aggregate cash fee percentage | | | | | | | | | | | 1% | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Note Purchase Agreement [Member] | FirstPro Reporting Unit [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt instrument, interest rate during period | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 17% | | | | | | | | | | | | | | | | | | |
Debt Instrument, Maturity Date | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sep. 30, 2022 | | | | | | | | | | | | | | | | | | |
First August Two Thousand Twenty One Securities Purchase Agreement [Member] | Registered Direct Offering [Member] | Institutional Investors [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Common stock issued ammended | | | | | | | | | | | 69,159 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Common stock issued ammended | | | | | | | | | | | $ 25.80 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Sale of common stock and warrants, shares | | | | | | | | | | | 138,317 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Share issued, per share | | | | | | | | | | | $ 26.425 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Percentage of common stock offered | | | | | | | | | | | 50% | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
August Two Thousand Twenty One Offerings [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Common stock issued ammended | | | | | | | | | | 10,204 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Common stock issued ammended | | | | | | | | | | $ 26.25 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Proceeds from Issuance Initial Public Offering | | | | | | | | | | | $ 3,217 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Non accountable expense allowance | | | | | | | | | | $ 50 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Clearing expenses | | | | | | | | | | $ 13 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Aggregate cash fee percentage | | | | | | | | | | 7.50% | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Aggregate cash fee percentage | | | | | | | | | | 1% | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Percentage of shares sold | | | | | | | | | | 7.50% | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
August Two Thousand Twenty One Offerings [Member] | Institutional Investors [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Number of warrants sold | | | | | | | | | | 68,024 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Percentage of shares sold | | | | | | | | | | 50% | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
August Two Thousand Twenty One Purchase Agreement [Member] | Institutional Investors [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Common stock issued ammended | | | | | | | | | | 68,024 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Common stock issued ammended | | | | | | | | | | $ 20.40 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Sale of common stock and warrants, shares | | | | | | | | | | 136,048 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Share issued, per share | | | | | | | | | | $ 21 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Number of warrants sold | | | | | | | | | | 136,048 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Percentage of common stock offered | | | | | | | | | | 50% | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Class of warrant or right exercisable term | | | | | | | | | | 5 years | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Third Amended and Restated Note Purchase Agreement [Member] | Jackson Note [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Outstanding principal amount | | $ 9,000 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Third Amended and Restated Note Purchase Agreement [Member] | Jackson Investment Group, LLC [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Outstanding principal amount | | 9,000 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument, Interest Rate, Stated Percentage | | | | | | | 12% | | | | | | | | | | | | | | | | | | | | | | | | | | | | 12% | | | | | | | | | | | | | | | | | | | |
Amended Note Purchase Agreement [Member] | Series E-1 Preferred Stock [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
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 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Preferred Stock, Liquidation Preference Per Share | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 10,000 | | | |
Amended Note Purchase Agreement [Member] | Jackson Investment Group, LLC [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Sale of common stock and warrants, shares | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 100,000 | | | | | | | | | | | | | | | | | | | |
Amendment fee | | | | | | | $ 39 | | | | | | | | | | | | | | | | | | | | | | | | | | | | $ 39 | | | | | | | | | | | | | | | | | | | |
Aggregate value of shares issued | | | | | | | 257 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Fair value adjustment of warrants | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 29 | | | | | | $ 29 | | | | | | | | | | | | | |
Amended Note Purchase Agreement [Member] | Jackson Investment Group, LLC [Member] | Senior Secured 12% Promissory Note [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt instrument, face amount | | | | | | | | | | | | | | | | | | | | | | | | | $ 35,700 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument, Maturity Date | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sep. 30, 2022 | | | | | | | | | | |
Amendment fee | | $ 39 | | | | | $ 39 | | | | | | | | | | | | | | | | | | | | | | | | | | | | $ 39 | | | | | | | | | | | | | | | | | | | |
Amended Note Purchase Agreement [Member] | Minimum [Member] | Series E-1 Preferred Stock [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Preferred Stock, Liquidation Preference Per Share | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 106.80 | | | |
Amended Note Purchase Agreement [Member] | Minimum [Member] | Jackson Investment Group, LLC [Member] | Senior Secured 12% Promissory Note [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument, Interest Rate, Stated Percentage | | | | | | | | | | | | | | | | | | | | | | | | | 12% | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Amended Note Purchase Agreement [Member] | Maximum [Member] | Series E-1 Preferred Stock [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Preferred Stock, Liquidation Preference Per Share | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $ 99.60 | | | |
Amended Note Purchase Agreement [Member] | Maximum [Member] | Jackson Investment Group, LLC [Member] | Senior Secured 12% Promissory Note [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument, Interest Rate, Stated Percentage | | | | | | | | | | | | | | | | | | | | | | | | | 50% | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Underwriting Agreement [Member] | HC Wainwright And Co LLC [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Common stock issued ammended | | | | | | | 35,128 | | | 10,205 | 10,376 | | | 16,494 | | | | 9,787 | | 18,214 | | | | | | | | | | | | | | | 35,128 | | 16,494 | | | | | | | | | | | | 3,331 | 6,023 | | | | |
Common stock issued ammended | | | | | | | $ 24.69 | | | $ 26.25 | $ 33.031 | | | $ 43.125 | | | | $ 45 | | $ 67.50 | | | | | | | | | | | | | | | $ 24.69 | | $ 43.125 | | | | | | | | | | | | $ 45 | $ 49.13 | | | | |
Class of warrant or right exercisable term | | | | | | | 5 years | | | 5 years | 5 years | | | 5 years | | | | 5 years | | 5 years | | | | | | | | | | | | | | | 5 years | | 5 years | | | | | | | | | | | | 5 years | 5 years | | | | |
August TwoThousand Twenty One Warrants [Member] | Institutional Investors [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Accumulated Other Comprehensive Income (Loss) [Line Items] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Common stock issued ammended | | | | | | | | | | $ 20.40 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |