Condensed Consolidated Statements of Mezzanine Equity and Stockholders' Equity (Unaudited) - USD ($) $ in Thousands | Total | Common Stock [Member] | Additional Paid-in Capital [Member] | Retained Earnings [Member] | AOCI Attributable to Parent [Member] | Noncontrolling Interest [Member] | Temporary Equity, Including Portion Attributable to Noncontrolling Interests [Member] | Common Stock Outstanding [Member] | Treasury Stock, Common [Member] |
Balance (in shares) at Dec. 31, 2022 | | | | | | | | 185,277,588 | 4,189,750 |
Balance at Dec. 31, 2022 | $ 229,147 | $ 19 | $ 665,715 | $ (416,927) | $ 2,006 | | | | $ (21,666) |
Proceeds from exercise of options (in shares) | | | | | | | | 1,775,603 | 0 |
Proceeds from exercise of options | 3,240 | 0 | 3,240 | 0 | 0 | | | | $ 0 |
Common stock issued upon vesting of restricted stock units (in shares) | | | | | | | | 2,006,038 | 0 |
Common stock issued upon vesting of restricted stock units | 0 | 0 | 0 | 0 | 0 | | | | $ 0 |
Stock-based compensation expense | 17,690 | 0 | 17,690 | 0 | 0 | | | | 0 |
Reclassification of earn-out RSUs to earn-out shares | (312) | 0 | (312) | 0 | 0 | | | | 0 |
Net loss | (21,707) | 0 | 0 | (21,707) | 0 | | | | |
Unrealized loss on available-for-sale securities | 0 | | | | | | | | |
Foreign currency translation adjustments | 245 | 0 | 0 | 0 | 245 | | | | 0 |
Balance, temporary equity, including noncontrolling interest at Dec. 31, 2022 | | | | | | $ 14,007 | $ 14,007 | | |
Repurchase of common stock (in shares) | | | | | | | | (3,336,046) | |
Repurchase of common stock | $ (17,104) | 0 | 0 | 0 | 0 | | | | $ (17,104) |
Repurchase of common stock (in shares) | 3,336,046 | | | | | | | | 3,336,046 |
Retirement of common stock | $ 0 | 0 | (26,729) | (12,041) | 0 | | | | $ 38,770 |
Retirement of common stock (in shares) | (7,525,796) | | | | | | | 0 | (7,525,796) |
Net income attributable to and accretion of redeemable noncontrolling interest | | | | | | 75 | 75 | | |
Net income attributable to and accretion of redeemable noncontrolling interest | $ (75) | 0 | 0 | (75) | 0 | | | | $ 0 |
Foreign currency translation adjustments | | | | | | (73) | (73) | | |
Foreign currency translation adjustments | 245 | 0 | 0 | 0 | 245 | | | | $ 0 |
Reclassification adjustment for net gains on available-for-sale securities included in net loss | 0 | | | | | | | | |
Temporary Equity, Foreign Currency Translation Adjustments | | | | | | (73) | (73) | | |
Balance, temporary equity, including noncontrolling interest at Jun. 30, 2023 | | | | | | 14,009 | 14,009 | | |
Balance (in shares) at Jun. 30, 2023 | | | | | | | | 185,723,183 | 0 |
Balance at Jun. 30, 2023 | 211,124 | 19 | 659,604 | (450,750) | 2,251 | | | | $ 0 |
Balance (in shares) at Mar. 31, 2023 | | | | | | | | 186,787,807 | 4,614,626 |
Balance at Mar. 31, 2023 | 227,241 | 19 | 674,768 | (426,124) | 2,055 | | | | $ (23,477) |
Proceeds from exercise of options (in shares) | | | | | | | | 1,095,218 | 0 |
Proceeds from exercise of options | 2,109 | 0 | 2,109 | 0 | 0 | | | | $ 0 |
Common stock issued upon vesting of restricted stock units (in shares) | | | | | | | | 751,328 | 0 |
Common stock issued upon vesting of restricted stock units | 0 | 0 | 0 | 0 | 0 | | | | $ 0 |
Stock-based compensation expense | 9,586 | 0 | 9,586 | 0 | 0 | | | | 0 |
Reclassification of earn-out RSUs to earn-out shares | (130) | 0 | (130) | 0 | 0 | | | | 0 |
Net loss | (12,525) | 0 | 0 | (12,525) | 0 | | | | |
Unrealized loss on available-for-sale securities | 0 | | | | | | | | |
Foreign currency translation adjustments | 196 | 0 | 0 | 0 | 196 | | | | 0 |
Balance, temporary equity, including noncontrolling interest at Mar. 31, 2023 | | | | | | 14,057 | 14,057 | | |
Repurchase of common stock (in shares) | | | | | | | | (2,911,170) | |
Repurchase of common stock | (15,293) | 0 | 0 | 0 | 0 | | | | $ (15,293) |
Repurchase of common stock (in shares) | | | | | | | | | 2,911,170 |
Retirement of common stock | 0 | 0 | (26,729) | (12,041) | 0 | | | | $ 38,770 |
Retirement of common stock (in shares) | | | | | | | | | (7,525,796) |
Net income attributable to and accretion of redeemable noncontrolling interest | | | | | | 60 | 60 | | |
Net income attributable to and accretion of redeemable noncontrolling interest | (60) | 0 | 0 | (60) | 0 | | | | $ 0 |
Foreign currency translation adjustments | | | | | | (108) | (108) | | |
Foreign currency translation adjustments | 196 | 0 | 0 | 0 | 196 | | | | $ 0 |
Reclassification adjustment for net gains on available-for-sale securities included in net loss | 0 | | | | | | | | |
Temporary Equity, Foreign Currency Translation Adjustments | | | | | | (108) | (108) | | |
Balance, temporary equity, including noncontrolling interest at Jun. 30, 2023 | | | | | | 14,009 | 14,009 | | |
Balance (in shares) at Jun. 30, 2023 | | | | | | | | 185,723,183 | 0 |
Balance at Jun. 30, 2023 | 211,124 | 19 | 659,604 | (450,750) | 2,251 | | | | $ 0 |
Balance (in shares) at Dec. 31, 2023 | | | | | | | | 184,652,402 | |
Balance at Dec. 31, 2023 | $ 218,806 | 18 | 667,881 | (460,496) | 3,196 | 8,207 | | | |
Proceeds from exercise of options (in shares) | 1,385,363 | | | | | | | 1,385,363 | |
Proceeds from exercise of options | $ 3,334 | 0 | 3,334 | 0 | 0 | 0 | | | |
Common stock issued upon vesting of restricted stock units (in shares) | | | | | | | | 3,030,973 | |
Common stock issued upon vesting of restricted stock units | 0 | 1 | (1) | 0 | 0 | 0 | | | |
Stock-based compensation expense | 19,996 | 0 | 19,996 | 0 | 0 | 0 | | | |
Reclassification of earn-out RSUs to earn-out shares | $ (258) | 0 | (258) | | 0 | 0 | | | |
Repurchase and retirement of common stock (in shares) | (2,411,432) | | | | | | | (2,411,432) | |
Repurchase and retirement of common stock | $ (19,150) | 0 | (8,844) | (10,306) | 0 | 0 | | | |
Net loss | (14,887) | 0 | 0 | (14,624) | 0 | (263) | | | |
Unrealized loss on available-for-sale securities | (41) | 0 | 0 | 0 | (41) | 0 | | | |
Foreign currency translation adjustments | (391) | 0 | 0 | | (325) | (66) | | | |
Balance, temporary equity, including noncontrolling interest at Dec. 31, 2023 | 6,038 | | | | | 6,038 | 6,038 | | |
Foreign currency translation adjustments | | | | | | (8) | (8) | | |
Foreign currency translation adjustments | (391) | 0 | 0 | | (325) | (66) | | | |
Accretion of redeemable noncontrolling interest | 99 | | | 99 | | (99) | (99) | | |
Redemption of noncontrolling interest | | | | | | (5,926) | (5,926) | | |
Redemption of noncontrolling interest | 0 | 0 | 6,379 | 0 | 2 | (6,381) | | | |
Net loss | | | | | | (5) | (5) | | |
Reclassification adjustment for net gains on available-for-sale securities included in net loss | (100) | $ 0 | 0 | 0 | (100) | 0 | | | |
Temporary Equity, Foreign Currency Translation Adjustments | | | | | | (8) | (8) | | |
Balance, temporary equity, including noncontrolling interest at Jun. 30, 2024 | 0 | | | | | 0 | 0 | | |
Balance (in shares) at Jun. 30, 2024 | | 186,657,306 | | | | | | 186,657,306 | |
Balance at Jun. 30, 2024 | 207,408 | $ 19 | 688,487 | (485,327) | 2,732 | 1,497 | | | |
Balance (in shares) at Mar. 31, 2024 | | 185,215,633 | | | | | | | |
Balance at Mar. 31, 2024 | 212,748 | $ 19 | 677,926 | (469,517) | 2,693 | 1,627 | | | |
Proceeds from exercise of options (in shares) | | 1,092,002 | | | | | | | |
Proceeds from exercise of options | 2,550 | $ 0 | 2,550 | 0 | 0 | 0 | | | |
Common stock issued upon vesting of restricted stock units (in shares) | | 1,002,253 | | | | | | | |
Common stock issued upon vesting of restricted stock units | 0 | $ 0 | 0 | 0 | 0 | 0 | | | |
Stock-based compensation expense | 10,538 | 0 | 10,538 | 0 | 0 | 0 | | | |
Reclassification of earn-out RSUs to earn-out shares | (121) | $ 0 | (121) | 0 | 0 | 0 | | | |
Repurchase and retirement of common stock (in shares) | | (652,582) | | | | | | | |
Repurchase and retirement of common stock | (5,407) | $ 0 | (2,406) | (3,001) | 0 | 0 | | | |
Net loss | (12,938) | | | (12,809) | 0 | (129) | | | |
Unrealized loss on available-for-sale securities | (41) | 0 | 0 | 0 | (41) | 0 | | | |
Foreign currency translation adjustments | 79 | 0 | 0 | 0 | 80 | (1) | | | |
Foreign currency translation adjustments | 79 | $ 0 | 0 | 0 | 80 | (1) | | | |
Reclassification adjustment for net gains on available-for-sale securities included in net loss | 0 | | | | | | | | |
Balance, temporary equity, including noncontrolling interest at Jun. 30, 2024 | 0 | | | | | 0 | $ 0 | | |
Balance (in shares) at Jun. 30, 2024 | | 186,657,306 | | | | | | 186,657,306 | |
Balance at Jun. 30, 2024 | $ 207,408 | $ 19 | $ 688,487 | $ (485,327) | $ 2,732 | $ 1,497 | | | |