Condensed Consolidated Statements of Convertible Preferred Stock and Stockholders' Equity (Deficit) (Unaudited) - USD ($) $ in Thousands | Total | Common Stock [Member] | Additional Paid-in Capital [Member] | Treasury Stock | Accumulated Other Comprehensive Income (Loss) [Member] | Non-controlling Interest [Member] | Accumulated Deficit [Member] | Series C-1 Convertible Preferred Stock [Member] Preferred Stock [Member] | Series A-1 convertible preferred stock [Member] Preferred Stock [Member] |
Stockholders' Equity, Beginning Balance at Dec. 31, 2020 | $ (211,498) | $ 1,961 | $ 1,257,502 | | $ 2,772 | $ (7,826) | $ (1,465,907) | | $ 0 |
Balance, shares at Dec. 31, 2020 | | 196,093 | | | | | | | 32 |
Temporary Equity, Beginning Balance at Dec. 31, 2020 | | | | | | | | $ 26,917 | |
Net loss | (54,403) | | | | | (726) | (53,677) | | |
Other comprehensive income (loss) | (3,774) | | | | (3,774) | | | | |
Share-based compensation | 3,932 | | 3,669 | | | 263 | | | |
Shares sold at the market | 60,859 | $ 190 | 60,669 | | | | | | |
Shares sold at the market, shares | | 18,950 | | | | | | | |
Payment of CEO payroll in shares | 68 | | 68 | | | | | | |
Payment of CEO payroll In shares, shares | | 19 | | | | | | | |
Issuance of shares for services | 20 | | 20 | | | | | | |
Issuance of shares for services, shares | | 5 | | | | | | | |
Conversion of Series C-1 convertible preferred stock | 4,321 | $ 20 | 4,301 | | | | | $ (4,321) | |
Conversion of Series C-1 convertible preferred stock, shares | | 2,000 | | | | | | (2) | |
Exercise of stock options and employee share purchases | 2,526 | $ 8 | 2,518 | | | | | | |
Exercise of stock options and employee share purchases, shares | | 796 | | | | | | | |
Stockholders' Equity, Ending Balance at Mar. 31, 2021 | (197,949) | $ 2,179 | 1,328,747 | | (1,002) | (8,289) | (1,519,584) | | $ 0 |
Temporary Equity, shares at Mar. 31, 2021 | | | | | | | | 10 | |
Temporary Equity, Ending Balance at Mar. 31, 2021 | | | | | | | | $ 22,596 | |
Balance, shares at Mar. 31, 2021 | | 217,863 | | | | | | | 32 |
Temporary Equity, shares at Dec. 31, 2020 | | | | | | | | 12 | |
Stockholders' Equity, Beginning Balance at Dec. 31, 2020 | (211,498) | $ 1,961 | 1,257,502 | | 2,772 | (7,826) | (1,465,907) | | $ 0 |
Balance, shares at Dec. 31, 2020 | | 196,093 | | | | | | | 32 |
Temporary Equity, Beginning Balance at Dec. 31, 2020 | | | | | | | | $ 26,917 | |
Net loss | (138,394) | | | | | | | | |
Other comprehensive income (loss) | (2,512) | | | | | | | | |
Stockholders' Equity, Ending Balance at Jun. 30, 2021 | (255,752) | $ 2,253 | 1,353,243 | | 260 | (8,634) | (1,602,874) | | $ 0 |
Temporary Equity, shares at Jun. 30, 2021 | | | | | | | | 8 | |
Temporary Equity, Ending Balance at Jun. 30, 2021 | | | | | | | | $ 18,275 | |
Balance, shares at Jun. 30, 2021 | | 225,265 | | | | | | | 32 |
Temporary Equity, shares at Dec. 31, 2020 | | | | | | | | 12 | |
Stockholders' Equity, Beginning Balance at Mar. 31, 2021 | (197,949) | $ 2,179 | 1,328,747 | | (1,002) | (8,289) | (1,519,584) | | $ 0 |
Balance, shares at Mar. 31, 2021 | | 217,863 | | | | | | | 32 |
Temporary Equity, Beginning Balance at Mar. 31, 2021 | | | | | | | | $ 22,596 | |
Net loss | (83,991) | | | | | (701) | (83,290) | | |
Other comprehensive income (loss) | 1,262 | | | | 1,262 | | | | |
Share-based compensation | 5,431 | | 5,075 | | | 356 | | | |
Shares sold at the market | 9,147 | $ 34 | 9,113 | | | | | | |
Shares sold at the market, shares | | 3,392 | | | | | | | |
Issuance of warrants | 70 | | 70 | | | | | | |
Payment of CEO payroll in shares | 87 | | 87 | | | | | | |
Payment of CEO payroll In shares, shares | | 24 | | | | | | | |
Issuance of shares for services | 31 | | 31 | | | | | | |
Issuance of shares for services, shares | | 9 | | | | | | | |
Exercise of stock options | 3,072 | $ 10 | 3,062 | | | | | | |
Exercise of stock options, shares | | 1,012 | | | | | | | |
Conversion of Series C-1 convertible preferred stock | 4,321 | $ 20 | 4,301 | | | | | $ (4,321) | |
Conversion of Series C-1 convertible preferred stock, shares | | 2,000 | | | | | | (2) | |
Issuance of shares for employee bonus | 1,275 | $ 15 | 2,757 | $ (1,497) | | | | | |
Issuance of shares for employee bonus, Shares | | 1,486 | | | | | | | |
Issuance of shares for 2020 employee bonus, Shares | | | | (521) | | | | | |
Retirement of treasury shares | 1,492 | $ (5) | | $ 1,497 | | | | | |
Retirement of treasury shares, share | | (521) | | 521 | | | | | |
Stockholders' Equity, Ending Balance at Jun. 30, 2021 | (255,752) | $ 2,253 | 1,353,243 | | 260 | (8,634) | (1,602,874) | | $ 0 |
Temporary Equity, shares at Jun. 30, 2021 | | | | | | | | 8 | |
Temporary Equity, Ending Balance at Jun. 30, 2021 | | | | | | | | $ 18,275 | |
Balance, shares at Jun. 30, 2021 | | 225,265 | | | | | | | 32 |
Temporary Equity, shares at Mar. 31, 2021 | | | | | | | | 10 | |
Stockholders' Equity, Beginning Balance at Dec. 31, 2021 | 47,909 | $ 2,569 | 1,520,212 | | 1,492 | 13,469 | (1,489,833) | | $ 0 |
Balance, shares at Dec. 31, 2021 | | 256,899 | | | | | | | 32 |
Net loss | (50,604) | | | | | (2,279) | (48,325) | | |
Other comprehensive income (loss) | (522) | | | | (522) | | | | |
Share-based compensation | 4,947 | | 4,205 | | | 742 | | | |
Shares sold at the market | 19,182 | $ 70 | 19,112 | | | | | | |
Shares sold at the market, shares | | 7,039 | | | | | | | |
Issuance of director deferred shares | 19 | | 19 | | | | | | |
Issuance of director deferred shares, shares | | 5 | | | | | | | |
Issuance of shares for services | 81 | $ 1 | 80 | | | | | | |
Issuance of shares for services, shares | | 21 | | | | | | | |
Vesting of nonvested shares | | $ 1 | (1) | | | | | | |
Vesting of nonvested shares, shares | | 143 | | | | | | | |
Exercise of stock options and employee share purchases | 368 | $ 1 | 367 | | | | | | |
Exercise of stock options and employee share purchases, shares | | 136 | | | | | | | |
Issuance of shares for employee bonus | 2,903 | $ 38 | 6,245 | $ (3,380) | | | | | |
Issuance of shares for employee bonus, Shares | | 3,845 | | | | | | | |
Issuance of shares for 2020 employee bonus, Shares | | | | (1,347) | | | | | |
Retirement of treasury shares | 3,367 | $ (13) | | $ 3,380 | | | | | |
Retirement of treasury shares, share | | (1,347) | | 1,347 | | | | | |
Stockholders' Equity, Ending Balance at Mar. 31, 2022 | 27,650 | $ 2,667 | 1,550,239 | | 970 | 11,932 | (1,538,158) | | $ 0 |
Balance, shares at Mar. 31, 2022 | | 266,741 | | | | | | | 32 |
Stockholders' Equity, Beginning Balance at Dec. 31, 2021 | 47,909 | $ 2,569 | 1,520,212 | | 1,492 | 13,469 | (1,489,833) | | $ 0 |
Balance, shares at Dec. 31, 2021 | | 256,899 | | | | | | | 32 |
Net loss | (99,839) | | | | | | | | |
Other comprehensive income (loss) | $ 657 | | | | | | | | |
Exercise of stock options, shares | 21,311 | | | | | | | | |
Stockholders' Equity, Ending Balance at Jun. 30, 2022 | $ 13,638 | $ 2,829 | 1,583,030 | | 2,149 | 10,222 | (1,584,592) | | $ 0 |
Balance, shares at Jun. 30, 2022 | | 282,862 | | | | | | | 32 |
Stockholders' Equity, Beginning Balance at Mar. 31, 2022 | 27,650 | $ 2,667 | 1,550,239 | | 970 | 11,932 | (1,538,158) | | $ 0 |
Balance, shares at Mar. 31, 2022 | | 266,741 | | | | | | | 32 |
Net loss | (49,235) | | | | | (2,801) | (46,434) | | |
Other comprehensive income (loss) | 1,179 | | | | 1,179 | | | | |
Share-based compensation | 4,615 | | 3,818 | | | 797 | | | |
Shares sold at the market | 28,237 | $ 158 | 28,079 | | | | | | |
Shares sold at the market, shares | | 15,782 | | | | | | | |
Issuance of shares for milestone achievement | 500 | $ 2 | 498 | | | | | | |
Issuance of shares for milestone achievement, shares | | 180 | | | | | | | |
Issuance of shares for services | 20 | $ 1 | 19 | | | | | | |
Issuance of shares for services, shares | | 7 | | | | | | | |
Exercise of stock options | 14 | | 14 | | | | | | |
Exercise of stock options, shares | | 6 | | | | | | | |
Issuance of subsidiary shares for employee bonus | 294 | | | | | 294 | | | |
Issuance of shares for employee bonus | 114 | $ 2 | 363 | $ (251) | | | | | |
Issuance of shares for employee bonus, Shares | | 246 | | | | | | | |
Issuance of shares for 2020 employee bonus, Shares | | | | (100) | | | | | |
Retirement of treasury shares | 250 | $ (1) | | $ 251 | | | | | |
Retirement of treasury shares, share | | (100) | | 100 | | | | | |
Stockholders' Equity, Ending Balance at Jun. 30, 2022 | $ 13,638 | $ 2,829 | $ 1,583,030 | | $ 2,149 | $ 10,222 | $ (1,584,592) | | $ 0 |
Balance, shares at Jun. 30, 2022 | | 282,862 | | | | | | | 32 |