CONDENSED CONSOLIDATED STATEMENTS OF STOCKHOLDERS’ EQUITY - USD ($) $ in Thousands | Total | Cumulative Effect, Period of Adoption, Adjustment | Common Stock | Additional Paid-In Capital | Additional Paid-In Capital Cumulative Effect, Period of Adoption, Adjustment | Accumulated Other Comprehensive Income (Loss) | Accumulated Deficit | Accumulated Deficit Cumulative Effect, Period of Adoption, Adjustment | Non-controlling Interests |
Beginning balance (in shares) at Dec. 31, 2021 | | | 144,671,624 | | | | | | |
Beginning balance at Dec. 31, 2021 | $ 667,827 | | $ 14 | $ 1,176,845 | | $ 20 | $ (509,052) | | $ 0 |
Beginning balance (Accounting Standards Update 2020-06) at Dec. 31, 2021 | | $ (129,381) | | | $ (130,979) | | | $ 1,598 | |
Beginning balance (Accounting Standards Update 2016-13) at Dec. 31, 2021 | | (573) | | | | | | (573) | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | |
Common stock issued upon business combination (in shares) | | | 8,621,006 | | | | | | |
Common stock issued upon business combination | 108,883 | | $ 1 | 108,882 | | | | | |
Stock option exercises, net of statutory tax withholdings (in shares) | | | 425,167 | | | | | | |
Stock option exercises, net of statutory tax withholdings | (426) | | | (426) | | | | | |
Stock-based compensation | 6,787 | | | 6,787 | | | | | |
Unrealized gain (loss) on available-for-sale securities | (611) | | | | | (611) | | | |
Foreign currency translation adjustment | (28) | | | | | (28) | | | |
Contributions from non-controlling interests | 141 | | | | | | | | 141 |
Net loss | (22,483) | | | | | | (22,483) | | |
Ending balance (in shares) at Mar. 31, 2022 | | | 153,717,797 | | | | | | |
Ending balance at Mar. 31, 2022 | 630,136 | | $ 15 | 1,161,109 | | (619) | (530,510) | | 141 |
Beginning balance (in shares) at Dec. 31, 2021 | | | 144,671,624 | | | | | | |
Beginning balance at Dec. 31, 2021 | 667,827 | | $ 14 | 1,176,845 | | 20 | (509,052) | | 0 |
Beginning balance (Accounting Standards Update 2020-06) at Dec. 31, 2021 | | (129,381) | | | $ (130,979) | | | 1,598 | |
Beginning balance (Accounting Standards Update 2016-13) at Dec. 31, 2021 | | $ (573) | | | | | | $ (573) | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | |
Unrealized gain (loss) on available-for-sale securities | (1,855) | | | | | | | | |
Foreign currency translation adjustment | (287) | | | | | | | | |
Net loss | (88,781) | | | | | | | | |
Ending balance (in shares) at Sep. 30, 2022 | | | 154,487,778 | | | | | | |
Ending balance at Sep. 30, 2022 | 577,225 | | $ 15 | 1,175,733 | | (2,122) | (596,808) | | 407 |
Beginning balance (in shares) at Mar. 31, 2022 | | | 153,717,797 | | | | | | |
Beginning balance at Mar. 31, 2022 | 630,136 | | $ 15 | 1,161,109 | | (619) | (530,510) | | 141 |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | |
Stock option exercises, net of statutory tax withholdings (in shares) | | | 355,712 | | | | | | |
Stock option exercises, net of statutory tax withholdings | (1,415) | | | (1,415) | | | | | |
Issuance of common stock upon release of restricted stock units (in shares) | | | 131,665 | | | | | | |
Shares issued for exercise of warrants (in shares) | | | 21,101 | | | | | | |
Shares issued for exercise of warrants | 150 | | | 150 | | | | | |
Stock-based compensation | 7,021 | | | 7,021 | | | | | |
Unrealized gain (loss) on available-for-sale securities | (399) | | | | | (399) | | | |
Foreign currency translation adjustment | (118) | | | | | (118) | | | |
Contributions from non-controlling interests | 75 | | | | | | | | 75 |
Net loss | (32,023) | | | | | | (32,019) | | (4) |
Ending balance (in shares) at Jun. 30, 2022 | | | 154,226,275 | | | | | | |
Ending balance at Jun. 30, 2022 | 603,427 | | $ 15 | 1,166,865 | | (1,136) | (562,529) | | 212 |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | |
Stock option exercises, net of statutory tax withholdings (in shares) | | | 201,496 | | | | | | |
Stock option exercises, net of statutory tax withholdings | 584 | | | 584 | | | | | |
Issuance of common stock upon release of restricted stock units (in shares) | | | 60,007 | | | | | | |
Stock-based compensation | 8,284 | | | 8,284 | | | | | |
Unrealized gain (loss) on available-for-sale securities | (845) | | | | | (845) | | | |
Foreign currency translation adjustment | (141) | | | | | (141) | | | |
Contributions from non-controlling interests | 191 | | | | | | | | 191 |
Net loss | (34,275) | | | | | | (34,279) | | 4 |
Ending balance (in shares) at Sep. 30, 2022 | | | 154,487,778 | | | | | | |
Ending balance at Sep. 30, 2022 | 577,225 | | $ 15 | 1,175,733 | | (2,122) | (596,808) | | 407 |
Beginning balance (in shares) at Dec. 31, 2022 | | | 154,540,197 | | | | | | |
Beginning balance at Dec. 31, 2022 | 552,167 | | $ 15 | 1,185,364 | | (1,672) | (632,081) | | 541 |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | |
Stock option exercises, net of statutory tax withholdings (in shares) | | | 65,045 | | | | | | |
Stock option exercises, net of statutory tax withholdings | 149 | | | 149 | | | | | |
Issuance of common stock upon release of restricted stock units (in shares) | | | 903,061 | | | | | | |
Issuance of common stock upon release of restricted stock units | 1 | | $ 1 | | | | | | |
Stock-based compensation | 8,108 | | | 8,108 | | | | | |
Unrealized gain (loss) on available-for-sale securities | 1,543 | | | | | 1,543 | | | |
Foreign currency translation adjustment | 127 | | | | | 127 | | | |
Redemption of non-controlling interests, net | (72) | | | | | | | | (72) |
Net loss | (44,778) | | | | | | (44,778) | | |
Ending balance (in shares) at Mar. 31, 2023 | | | 155,508,303 | | | | | | |
Ending balance at Mar. 31, 2023 | 517,245 | | $ 16 | 1,193,621 | | (2) | (676,859) | | 469 |
Beginning balance (in shares) at Dec. 31, 2022 | | | 154,540,197 | | | | | | |
Beginning balance at Dec. 31, 2022 | $ 552,167 | | $ 15 | 1,185,364 | | (1,672) | (632,081) | | 541 |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | |
Stock option exercises, net of statutory tax withholdings (in shares) | 116,717 | | | | | | | | |
Unrealized gain (loss) on available-for-sale securities | $ 1,650 | | | | | | | | |
Foreign currency translation adjustment | 45 | | | | | | | | |
Net loss | (102,728) | | | | | | | | |
Ending balance (in shares) at Sep. 30, 2023 | | | 155,883,088 | | | | | | |
Ending balance at Sep. 30, 2023 | 453,343 | | $ 16 | 1,187,628 | | 23 | (734,809) | | 485 |
Beginning balance (in shares) at Mar. 31, 2023 | | | 155,508,303 | | | | | | |
Beginning balance at Mar. 31, 2023 | 517,245 | | $ 16 | 1,193,621 | | (2) | (676,859) | | 469 |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | |
Stock option exercises, net of statutory tax withholdings (in shares) | | | 39,528 | | | | | | |
Stock option exercises, net of statutory tax withholdings | 80 | | | 80 | | | | | |
Issuance of common stock upon release of restricted stock units (in shares) | | | 248,580 | | | | | | |
Stock-based compensation | 10,817 | | | 10,817 | | | | | |
Purchase of capped call options | (27,840) | | | (27,840) | | | | | |
Unrealized gain (loss) on available-for-sale securities | 47 | | | | | 47 | | | |
Foreign currency translation adjustment | (133) | | | | | (133) | | | |
Contributions from non-controlling interests | 6 | | | | | | | | 6 |
Net loss | 19,122 | | | | | | 19,122 | | |
Ending balance (in shares) at Jun. 30, 2023 | | | 155,796,411 | | | | | | |
Ending balance at Jun. 30, 2023 | 519,344 | | $ 16 | 1,176,678 | | (88) | (657,737) | | 475 |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | |
Stock option exercises, net of statutory tax withholdings (in shares) | | | 12,144 | | | | | | |
Stock option exercises, net of statutory tax withholdings | 28 | | | 28 | | | | | |
Issuance of common stock upon release of restricted stock units (in shares) | | | 74,533 | | | | | | |
Stock-based compensation | 10,922 | | | 10,922 | | | | | |
Unrealized gain (loss) on available-for-sale securities | 60 | | | | | 60 | | | |
Foreign currency translation adjustment | 51 | | | | | 51 | | | |
Contributions from non-controlling interests | 10 | | | | | | | | 10 |
Net loss | (77,072) | | | | | | (77,072) | | 0 |
Ending balance (in shares) at Sep. 30, 2023 | | | 155,883,088 | | | | | | |
Ending balance at Sep. 30, 2023 | $ 453,343 | | $ 16 | $ 1,187,628 | | $ 23 | $ (734,809) | | $ 485 |