CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY - USD ($) $ in Thousands |
Cumulative Effect, Period of Adoption, Adjustment [Member]
Convertible Preferred Stock
|
Cumulative Effect, Period of Adoption, Adjustment [Member]
Common Stock
|
Cumulative Effect, Period of Adoption, Adjustment [Member]
Additional Paid-In Capital
|
Cumulative Effect, Period of Adoption, Adjustment [Member] |
Cumulative Effect, Period of Adoption, Adjusted Balance [Member]
Common Stock
|
Cumulative Effect, Period of Adoption, Adjusted Balance [Member]
Additional Paid-In Capital
|
Cumulative Effect, Period of Adoption, Adjusted Balance [Member]
Notes Receivable
|
Cumulative Effect, Period of Adoption, Adjusted Balance [Member]
Accumulated Deficit
|
Cumulative Effect, Period of Adoption, Adjusted Balance [Member]
Accumulated Other Comprehensive (Loss) Income
|
Cumulative Effect, Period of Adoption, Adjusted Balance [Member] |
Convertible Preferred Stock |
Series E Preferred Stock
Common Stock
|
Series E Preferred Stock
Additional Paid-In Capital
|
Series E Preferred Stock |
Series E1 Preferred Stock
Common Stock
|
Series E1 Preferred Stock
Additional Paid-In Capital
|
Series E1 Preferred Stock |
Common Stock |
Additional Paid-In Capital |
Notes Receivable |
Accumulated Deficit |
Accumulated Other Comprehensive (Loss) Income |
Total |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BALANCE at Dec. 31, 2018 | $ (276,889) | $ 276,889 | |||||||||||||||||||||
BALANCE (in shares) at Dec. 31, 2018 | (84,092,669) | 84,092,669 | |||||||||||||||||||||
Temporary Equity, Carrying Amount, Including Portion Attributable to Noncontrolling Interests [Abstract] | |||||||||||||||||||||||
Issuance of Preferred Stock | $ 2 | $ 134,665 | $ 134,667 | $ 24,977 | $ 24,977 | ||||||||||||||||||
Issuance of Preferred Stock (in shares) | 16,426,267 | 3,046,623 | |||||||||||||||||||||
BALANCE at Dec. 31, 2018 | $ 11 | $ 276,878 | $ 276,889 | $ 13 | $ 283,318 | $ (249) | $ (190,666) | $ (96) | $ 92,320 | $ 2 | $ 6,440 | $ (249) | $ (190,666) | $ (96) | $ (184,569) | ||||||||
BALANCE (in shares) at Dec. 31, 2018 | 106,977,440 | 126,329,695 | 19,352,255 | ||||||||||||||||||||
Increase (Decrease) in Stockholders' Equity [Roll Forward] | |||||||||||||||||||||||
Exercise of Common Stock options | 708 | 708 | |||||||||||||||||||||
Exercise of Common Stock options (in shares) | 1,217,255 | ||||||||||||||||||||||
Vesting of restricted Common Stock | $ 1 | 7 | 8 | ||||||||||||||||||||
Vesting of restricted Common Stock (in shares) | 6,904,182 | ||||||||||||||||||||||
Issuance of common stock for acquisitions | 3,563 | 3,563 | |||||||||||||||||||||
Issuance of common stock for acquisitions (in shares) | 1,066,373 | ||||||||||||||||||||||
Stock-based compensation expense | 5,215 | 5,215 | |||||||||||||||||||||
Common Stock warrants issued and exercised | 1,038 | 1,038 | |||||||||||||||||||||
Repayment of notes receivable | (249) | $ 249 | |||||||||||||||||||||
Repayment of notes receivable (in shares) | (76,461) | ||||||||||||||||||||||
Net loss | (103,596) | (103,596) | |||||||||||||||||||||
Other comprehensive income | 171 | 171 | |||||||||||||||||||||
BALANCE at Dec. 31, 2019 | $ 16 | 453,242 | (294,262) | 75 | $ 159,071 | ||||||||||||||||||
BALANCE (in shares) at Dec. 31, 2019 | 154,913,934 | ||||||||||||||||||||||
BALANCE (in shares) at Dec. 31, 2020 | 100,038,109 | ||||||||||||||||||||||
Increase (Decrease) in Stockholders' Equity [Roll Forward] | |||||||||||||||||||||||
Exercise of Common Stock options | 325 | $ 325 | |||||||||||||||||||||
Exercise of Common Stock options (in shares) | 521,925 | ||||||||||||||||||||||
Vesting of restricted Common Stock | $ 1 | 6 | 7 | ||||||||||||||||||||
Vesting of restricted Common Stock (in shares) | 5,307,357 | ||||||||||||||||||||||
Issuance of common stock for acquisitions | 500 | 500 | |||||||||||||||||||||
Issuance of common stock for acquisitions (in shares) | 61,060 | ||||||||||||||||||||||
Repurchase of shares for employee tax withholdings | (101) | (101) | |||||||||||||||||||||
Repurchase of shares for employee tax withholdings (in shares) | (9,308) | ||||||||||||||||||||||
Stock-based compensation expense | 8,006 | 8,006 | |||||||||||||||||||||
Common Stock warrants issued and exercised | 1,915 | 1,915 | |||||||||||||||||||||
Common Stock warrants issued and exercised (in shares) | 692,366 | ||||||||||||||||||||||
Reverse recapitalization, net of transaction costs | $ 6 | 530,040 | 530,046 | ||||||||||||||||||||
Reverse recapitalization, net of transaction costs (in shares) | 63,139,263 | ||||||||||||||||||||||
Net loss | (90,432) | (90,432) | |||||||||||||||||||||
Other comprehensive income | (84) | (84) | |||||||||||||||||||||
BALANCE at Dec. 31, 2020 | $ 23 | $ 993,933 | $ (384,694) | $ (9) | $ 609,253 | ||||||||||||||||||
BALANCE (in shares) at Dec. 31, 2020 | 224,626,597 |