Condensed Consolidated Statements of Mezzanine Equity and Stockholders' Equity (Unaudited) - USD ($) $ in Thousands | Total | Noncontrolling Interest [Member] | Preferred Stock [Member] | Common Stock [Member] | Additional Paid-in Capital [Member] | Accumulated Deficit [Member] | Accumulated Other Comprehensive Loss [Member] |
Beginning Balance at Dec. 31, 2022 | $ 2,045,287 | | | $ 62 | $ 2,754,055 | $ (707,946) | $ (884) |
Beginning Balance, Shares at Dec. 31, 2022 | | | | 622,072,905 | | | |
Redeemable Non-Controlling Interest, Beginning balance at Dec. 31, 2022 | 14,179 | $ 14,179 | | | | | |
Stock-based compensation expense | 28,930 | | | | 28,930 | | |
Exercise of stock options | 8,243 | | | $ 1 | 8,242 | | |
Exercise of stock options, Shares | | | | 3,214,093 | | | |
Issuance of common stock under employee stock purchase plan, Value | 1,326 | | | | 1,326 | | |
Issuance of common stock under employee stock purchase plan, Shares | | | | 179,338 | | | |
Issuance of common stock upon vesting of RSUs-net of tax | (11,449) | | | | (11,449) | | |
Issuance of common stock upon vesting of RSUs - net of tax, Shares | | | | 2,217,379 | | | |
Foreign currency translation adjustment | 34 | | | | | | 34 |
Net income (loss) | 2,184 | | | | | 2,184 | |
Ending Balance at Mar. 31, 2023 | 2,074,555 | | | $ 63 | 2,781,104 | (705,762) | (850) |
Ending Balance, Shares at Mar. 31, 2023 | | | | 627,683,715 | | | |
Redeemable Non-Controlling Interest, Ending balance at Mar. 31, 2023 | | 14,179 | | | | | |
Beginning Balance at Dec. 31, 2022 | 2,045,287 | | | $ 62 | 2,754,055 | (707,946) | (884) |
Beginning Balance, Shares at Dec. 31, 2022 | | | | 622,072,905 | | | |
Redeemable Non-Controlling Interest, Beginning balance at Dec. 31, 2022 | 14,179 | 14,179 | | | | | |
Accretion of redeemable non-controlling interest | 1,325 | | | | | | |
Accretion of redeemable non-controlling interest | (1,325) | | | | | | |
Foreign currency translation adjustment | (274) | | | | | | |
Net income (loss) | (116,362) | | | | | | |
Ending Balance at Sep. 30, 2023 | 2,043,478 | | | $ 63 | 2,868,881 | (824,308) | (1,158) |
Ending Balance, Shares at Sep. 30, 2023 | | | | 634,633,179 | | | |
Redeemable Non-Controlling Interest, Ending balance at Sep. 30, 2023 | 15,504 | 15,504 | | | | | |
Beginning Balance at Mar. 31, 2023 | 2,074,555 | | | $ 63 | 2,781,104 | (705,762) | (850) |
Beginning Balance, Shares at Mar. 31, 2023 | | | | 627,683,715 | | | |
Redeemable Non-Controlling Interest, Beginning balance at Mar. 31, 2023 | | 14,179 | | | | | |
Stock-based compensation expense | 35,900 | | | | 35,900 | | |
Exercise of stock options | 12,585 | | | | 12,585 | | |
Exercise of stock options, Shares | | | | 3,996,713 | | | |
Issuance of common stock upon vesting of RSUs-net of tax | (90) | | | | (90) | | |
Issuance of common stock upon vesting of RSUs - net of tax, Shares | | | | 302,063 | | | |
Accretion of redeemable non-controlling interest | | 315 | | | | | |
Accretion of redeemable non-controlling interest | (315) | | | | (315) | | |
Foreign currency translation adjustment | (285) | | | | | | (285) |
Net income (loss) | (97,344) | | | | | (97,344) | |
Ending Balance at Jun. 30, 2023 | 2,025,006 | | | $ 63 | 2,829,184 | (803,106) | (1,135) |
Ending Balance, Shares at Jun. 30, 2023 | | | | 631,982,491 | | | |
Redeemable Non-Controlling Interest, Ending balance at Jun. 30, 2023 | 14,494 | 14,494 | | | | | |
Stock-based compensation expense | 39,751 | | | | 39,751 | | |
Exercise of stock options | 2,411 | | | | 2,411 | | |
Exercise of stock options, Shares | | | | 912,124 | | | |
Issuance of common stock under employee stock purchase plan, Value | 3,435 | | | | 3,435 | | |
Issuance of common stock under employee stock purchase plan, Shares | | | | 462,353 | | | |
Exercise of Warrants-Net, Shares | | | | 1,276,211 | | | |
Issuance of common stock upon vesting of RSUs-net of tax | (4,890) | | | | (4,890) | | |
Accretion of redeemable non-controlling interest | 1,010 | 1,010 | | | | | |
Accretion of redeemable non-controlling interest | (1,010) | | | | (1,010) | | |
Foreign currency translation adjustment | (23) | | | | | | (23) |
Net income (loss) | (21,202) | | | | | (21,202) | |
Ending Balance at Sep. 30, 2023 | 2,043,478 | | | $ 63 | 2,868,881 | (824,308) | (1,158) |
Ending Balance, Shares at Sep. 30, 2023 | | | | 634,633,179 | | | |
Redeemable Non-Controlling Interest, Ending balance at Sep. 30, 2023 | 15,504 | 15,504 | | | | | |
Beginning Balance at Dec. 31, 2023 | 1,782,277 | | $ 0 | $ 60 | 2,909,757 | (1,126,467) | (1,073) |
Beginning Balance, Shares at Dec. 31, 2023 | | | 0 | 603,128,781 | | | |
Redeemable Non-Controlling Interest, Beginning balance at Dec. 31, 2023 | 16,584 | 16,584 | | | | | |
Stock-based compensation expense | 44,971 | | | | 44,971 | | |
Exercise of stock options | 8,822 | | | $ 0 | 8,822 | | |
Exercise of stock options, Shares | | | | 3,346,599 | | | |
Issuance of common stock under employee stock purchase plan, Value | 1,833 | | | | 1,833 | | |
Issuance of common stock under employee stock purchase plan, Shares | | | | 194,307 | | | |
Issuance of common stock upon vesting of RSUs-net of tax | (52,580) | | | $ 1 | (52,581) | | |
Issuance of common stock upon vesting of RSUs - net of tax, Shares | | | | 7,588,048 | | | |
Accretion of redeemable non-controlling interest | | 1,142 | | | | | |
Accretion of redeemable non-controlling interest | (1,142) | | | | (1,142) | | |
Foreign currency translation adjustment | (75) | | | | | | (75) |
Net income (loss) | (597) | | | | | (597) | |
Ending Balance at Mar. 31, 2024 | 1,783,509 | | $ 0 | $ 61 | 2,911,660 | (1,127,064) | (1,148) |
Ending Balance, Shares at Mar. 31, 2024 | | | 0 | 614,257,735 | | | |
Redeemable Non-Controlling Interest, Ending balance at Mar. 31, 2024 | | 17,726 | | | | | |
Beginning Balance at Dec. 31, 2023 | 1,782,277 | | $ 0 | $ 60 | 2,909,757 | (1,126,467) | (1,073) |
Beginning Balance, Shares at Dec. 31, 2023 | | | 0 | 603,128,781 | | | |
Redeemable Non-Controlling Interest, Beginning balance at Dec. 31, 2023 | 16,584 | 16,584 | | | | | |
Accretion of redeemable non-controlling interest | 3,683 | | | | | | |
Accretion of redeemable non-controlling interest | (3,683) | | | | | | |
Foreign currency translation adjustment | 26 | | | | | | |
Net income (loss) | 24,980 | | | | | | |
Ending Balance at Sep. 30, 2024 | 1,940,119 | | $ 0 | $ 63 | 3,042,590 | (1,101,487) | (1,047) |
Ending Balance, Shares at Sep. 30, 2024 | | | 0 | 625,325,706 | | | |
Redeemable Non-Controlling Interest, Ending balance at Sep. 30, 2024 | 20,267 | 20,267 | | | | | |
Beginning Balance at Mar. 31, 2024 | 1,783,509 | | $ 0 | $ 61 | 2,911,660 | (1,127,064) | (1,148) |
Beginning Balance, Shares at Mar. 31, 2024 | | | 0 | 614,257,735 | | | |
Redeemable Non-Controlling Interest, Beginning balance at Mar. 31, 2024 | | 17,726 | | | | | |
Stock-based compensation expense | 40,125 | | | | 40,125 | | |
Exercise of stock options | 12,824 | | | $ 1 | 12,823 | | |
Exercise of stock options, Shares | | | | 4,518,651 | | | |
Issuance of common stock upon vesting of RSUs-net of tax | (142) | | | | (142) | | |
Warrant redemption | 37,122 | | | | 37,122 | | |
Warrant redemption, shares | | | | 3,809,200 | | | |
Issuance of common stock upon vesting of RSUs - net of tax, Shares | | | | 209,515 | | | |
Accretion of redeemable non-controlling interest | | 1,221 | | | | | |
Accretion of redeemable non-controlling interest | (1,221) | | | | (1,221) | | |
Foreign currency translation adjustment | (16) | | | | | | (16) |
Net income (loss) | 21,445 | | | | | 21,445 | |
Ending Balance at Jun. 30, 2024 | 1,893,646 | | $ 0 | $ 62 | 3,000,367 | (1,105,619) | (1,164) |
Ending Balance, Shares at Jun. 30, 2024 | | | 0 | 622,795,101 | | | |
Redeemable Non-Controlling Interest, Ending balance at Jun. 30, 2024 | 18,947 | 18,947 | | | | | |
Stock-based compensation expense | 42,125 | | | | 42,125 | | |
Exercise of stock options | 2,303 | | | | 2,303 | | |
Exercise of stock options, Shares | | | | 878,686 | | | |
Issuance of common stock under employee stock purchase plan, Value | 3,912 | | | | 3,912 | | |
Issuance of common stock under employee stock purchase plan, Shares | | | | 414,584 | | | |
Issuance of common stock upon vesting of RSUs-net of tax | (4,796) | | | $ 1 | (4,797) | | |
Issuance of common stock upon vesting of RSUs - net of tax, Shares | | | | 1,237,335 | | | |
Accretion of redeemable non-controlling interest | 1,320 | 1,320 | | | | | |
Accretion of redeemable non-controlling interest | (1,320) | | | | (1,320) | | |
Foreign currency translation adjustment | 117 | | | | | | 117 |
Net income (loss) | 4,132 | | | | | 4,132 | |
Ending Balance at Sep. 30, 2024 | 1,940,119 | | $ 0 | $ 63 | $ 3,042,590 | $ (1,101,487) | $ (1,047) |
Ending Balance, Shares at Sep. 30, 2024 | | | 0 | 625,325,706 | | | |
Redeemable Non-Controlling Interest, Ending balance at Sep. 30, 2024 | $ 20,267 | $ 20,267 | | | | | |