Condensed Consolidated Statements of Mezzanine Equity and Stockholders' Equity - USD ($) | 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, 2020 | $ 1,371,615,000 | | $ 0 | $ 50,000 | $ 1,501,206,000 | $ (129,370,000) | $ (271,000) |
Balance Balance, Shares at Dec. 31, 2020 | | | 0 | 504,274,890 | | | |
Beginning Balance , Redeemable Non-Controlling Interest at Dec. 31, 2020 | | $ 14,179,000 | | | | | |
Issuance of common stock | 1,007,000 | | | | 1,007,000 | | |
Issuance of common stock (Shares) | | | | 110,679 | | | |
Stock-based compensation expense | 11,838,000 | | | | 11,838,000 | | |
Stock-based compensation expense, Shares | | | | 883,729 | | | |
Exercise of stock options—net of tax | 444,000 | | | | 444,000 | | |
Exercise of stock options—net of tax , Shares | | | | 161,080 | | | |
Dividend to CCCIS stockholders | (134,551,000) | | | | | (134,551,000) | |
Foreign currency translation adjustment | 7,000 | | | | | | 7,000 |
Net income (loss) | (5,084,000) | | | | | (5,084,000) | |
Ending Balance , Redeemable Non-Controlling Interest at Mar. 31, 2021 | | 14,179,000 | | | | | |
Ending Balance at Mar. 31, 2021 | 1,245,276,000 | | $ 0 | $ 50,000 | 1,514,495,000 | (269,005,000) | (264,000) |
Ending Balance, Shares at Mar. 31, 2021 | | | 0 | 505,430,378 | | | |
Beginning Balance at Dec. 31, 2020 | 1,371,615,000 | | $ 0 | $ 50,000 | 1,501,206,000 | (129,370,000) | (271,000) |
Balance Balance, Shares at Dec. 31, 2020 | | | 0 | 504,274,890 | | | |
Beginning Balance , Redeemable Non-Controlling Interest at Dec. 31, 2020 | | 14,179,000 | | | | | |
Foreign currency translation adjustment | (18,000) | | | | | | |
Net income (loss) | (191,050,000) | | | | | | |
Ending Balance , Redeemable Non-Controlling Interest at Sep. 30, 2021 | | 14,179,000 | | | | | |
Ending Balance at Sep. 30, 2021 | 1,837,038,000 | | $ 0 | $ 60,000 | 2,525,750,000 | (688,483,000) | (289,000) |
Ending Balance, Shares at Sep. 30, 2021 | | | 0 | 603,170,380 | | | |
Beginning Balance at Mar. 31, 2021 | 1,245,276,000 | | $ 0 | $ 50,000 | 1,514,495,000 | (269,005,000) | (264,000) |
Balance Balance, Shares at Mar. 31, 2021 | | | 0 | 505,430,378 | | | |
Beginning Balance , Redeemable Non-Controlling Interest at Mar. 31, 2021 | | 14,179,000 | | | | | |
Stock-based compensation expense | 2,579,000 | | | | 2,579,000 | | |
Foreign currency translation adjustment | (36,000) | | | | | | (36,000) |
Net income (loss) | 3,816,000 | | | | | 3,816,000 | |
Ending Balance , Redeemable Non-Controlling Interest at Jun. 30, 2021 | | 14,179,000 | | | | | |
Ending Balance at Jun. 30, 2021 | 1,251,635,000 | | $ 0 | $ 50,000 | 1,517,074,000 | (265,189,000) | (300,000) |
Ending Balance, Shares at Jun. 30, 2021 | | | 0 | 505,430,378 | | | |
Stock-based compensation expense | 213,966,000 | | | | 213,966,000 | | |
Net equity infusion from the Business Combination | 704,841,000 | | | $ 10,000 | 704,831,000 | | |
Net equity infusion from the Business Combination (Shares) | | | | 97,740,002 | | | |
Dividend to CCCIS stockholders | (134,627,000) | | | | | (134,627,000) | |
Deemed distribution to CCCIS option holders | (9,006,000) | | | | (9,006,000) | | |
Company Vesting Shares granted to CCCIS stockholders | | | | | 98,885,000 | (98,885,000) | |
Foreign currency translation adjustment | 11,000 | | | | | | 11,000 |
Net income (loss) | (189,782,000) | | | | | (189,782,000) | |
Ending Balance , Redeemable Non-Controlling Interest at Sep. 30, 2021 | | 14,179,000 | | | | | |
Ending Balance at Sep. 30, 2021 | 1,837,038,000 | | $ 0 | $ 60,000 | 2,525,750,000 | (688,483,000) | (289,000) |
Ending Balance, Shares at Sep. 30, 2021 | | | 0 | 603,170,380 | | | |
Beginning Balance at Dec. 31, 2021 | 1,872,318,000 | | $ 0 | $ 61,000 | 2,618,924,000 | (746,352,000) | (315,000) |
Balance Balance, Shares at Dec. 31, 2021 | | | 0 | 609,768,296 | | | |
Beginning Balance , Redeemable Non-Controlling Interest at Dec. 31, 2021 | 14,179,000 | 14,179,000 | | | | | |
Stock-based compensation expense | 23,644,000 | | | | 23,644,000 | | |
Exercise of stock options—net of tax | 10,633,000 | | | | 10,633,000 | | |
Exercise of stock options—net of tax , Shares | | | | 3,961,270 | | | |
Exercise of Warrants-Net, Shares | | | | 1,246 | | | |
Issuance of common stock upon vesting of RSUs-net of tax, Shares | | | | 27,314 | | | |
Foreign currency translation adjustment | 9,000 | | | | | | 9,000 |
Net income (loss) | 11,975,000 | | | | | 11,975,000 | |
Ending Balance , Redeemable Non-Controlling Interest at Mar. 31, 2022 | | 14,179,000 | | | | | |
Ending Balance at Mar. 31, 2022 | 1,918,579,000 | | | $ 61,000 | 2,653,201,000 | (734,377,000) | (306,000) |
Ending Balance, Shares at Mar. 31, 2022 | | | | 613,758,126 | | | |
Beginning Balance at Dec. 31, 2021 | 1,872,318,000 | | $ 0 | $ 61,000 | 2,618,924,000 | (746,352,000) | (315,000) |
Balance Balance, Shares at Dec. 31, 2021 | | | 0 | 609,768,296 | | | |
Beginning Balance , Redeemable Non-Controlling Interest at Dec. 31, 2021 | 14,179,000 | 14,179,000 | | | | | |
Foreign currency translation adjustment | (804,000) | | | | | | |
Net income (loss) | 37,334,000 | | | | | | |
Ending Balance , Redeemable Non-Controlling Interest at Sep. 30, 2022 | 14,179,000 | 14,179,000 | | | | | |
Ending Balance at Sep. 30, 2022 | 2,010,620,000 | | | $ 62,000 | 2,720,695,000 | (709,018,000) | (1,119,000) |
Ending Balance, Shares at Sep. 30, 2022 | | | | 620,117,025 | | | |
Beginning Balance at Mar. 31, 2022 | 1,918,579,000 | | | $ 61,000 | 2,653,201,000 | (734,377,000) | (306,000) |
Balance Balance, Shares at Mar. 31, 2022 | | | | 613,758,126 | | | |
Beginning Balance , Redeemable Non-Controlling Interest at Mar. 31, 2022 | | 14,179,000 | | | | | |
Stock-based compensation expense | 28,403,000 | | | | 28,403,000 | | |
Exercise of stock options—net of tax | 4,723,000 | | | $ 1,000 | 4,722,000 | | |
Exercise of stock options—net of tax , Shares | | | | 1,713,991 | | | |
Issuance of common stock upon vesting of RSUs-net of tax, Shares | | | | 29,834 | | | |
Foreign currency translation adjustment | (303,000) | | | | | | (303,000) |
Net income (loss) | 15,564,000 | | | | | 15,564,000 | |
Ending Balance , Redeemable Non-Controlling Interest at Jun. 30, 2022 | | 14,179,000 | | | | | |
Ending Balance at Jun. 30, 2022 | 1,966,966,000 | | | $ 62,000 | 2,686,326,000 | (718,813,000) | (609,000) |
Ending Balance, Shares at Jun. 30, 2022 | | | | 615,501,951 | | | |
Stock-based compensation expense | 28,722,000 | | | | 28,722,000 | | |
Exercise of stock options—net of tax | $ 7,455,000 | | | | 7,455,000 | | |
Exercise of stock options—net of tax , Shares | 2,685,029 | | | | | | |
Issuance of common stock under employee stock purchase plan, Value | $ 3,197,000 | | | | 3,197,000 | | |
Issuance of common stock under employee stock purchase plan, Shares | | | | 408,879 | | | |
Issuance of common stock upon vesting of RSUs-net of tax | (5,005) | | | | (5,005) | | |
Issuance of common stock upon vesting of RSUs-net of tax, Shares | | | | 1,521,166 | | | |
Foreign currency translation adjustment | (510,000) | | | | | | (510,000) |
Net income (loss) | 9,795,000 | | | | | 9,795,000 | |
Ending Balance , Redeemable Non-Controlling Interest at Sep. 30, 2022 | 14,179,000 | $ 14,179,000 | | | | | |
Ending Balance at Sep. 30, 2022 | $ 2,010,620,000 | | | $ 62,000 | $ 2,720,695,000 | $ (709,018,000) | $ (1,119,000) |
Ending Balance, Shares at Sep. 30, 2022 | | | | 620,117,025 | | | |