Condensed Consolidated Statements of Redeemable Noncontrolling Interest and Stockholders’ Equity - USD ($) $ in Thousands | Total | Class A and Class B Common Stock | Additional Paid-In Capital | Accumulated Other Comprehensive Income (Loss) | Accumulated Deficit | Redeemable Noncontrolling Interest |
Balance at beginning of period at Dec. 31, 2021 | | | | | | $ 201 |
Increase (Decrease) in Temporary Equity [Roll Forward] | | | | | | |
Net loss | | | | | | (41) |
Balance at end of period at Mar. 31, 2022 | | | | | | 160 |
Balance at beginning of period (in shares) at Dec. 31, 2021 | | 375,089,360 | | | | |
Balance at beginning of period at Dec. 31, 2021 | $ 2,138,090 | $ 11 | $ 3,160,487 | $ (45,454) | $ (976,954) | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | |
Stock issued in connection with equity awards (in shares) | | 1,179,554 | | | | |
Stock issued in connection with equity awards | 6,541 | | 6,541 | | | |
Shares withheld related to net share settlement (in shares) | | (89,319) | | | | |
Shares withheld related to net share settlement | (4,227) | | (4,227) | | | |
Repurchase of Class A common stock (in shares) | | (893,556) | | | | |
Repurchase of Class A common stock | (43,697) | | (43,697) | | | |
Stock-based compensation | 44,377 | | 44,377 | | | |
Total other comprehensive income, net of tax | (13,532) | | | (13,532) | | |
Net loss | (115,257) | | | | (115,257) | |
Balance at end of period (in shares) at Mar. 31, 2022 | | 375,286,039 | | | | |
Balance at end of period at Mar. 31, 2022 | 2,012,295 | $ 11 | 3,163,481 | (58,986) | (1,092,211) | |
Balance at beginning of period at Dec. 31, 2021 | | | | | | 201 |
Increase (Decrease) in Temporary Equity [Roll Forward] | | | | | | |
Net loss | 92 | | | | | |
Balance at end of period at Jun. 30, 2022 | | | | | | 109 |
Balance at beginning of period (in shares) at Dec. 31, 2021 | | 375,089,360 | | | | |
Balance at beginning of period at Dec. 31, 2021 | 2,138,090 | $ 11 | 3,160,487 | (45,454) | (976,954) | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | |
Net loss | (137,005) | | | | | |
Balance at end of period (in shares) at Jun. 30, 2022 | | 373,184,049 | | | | |
Balance at end of period at Jun. 30, 2022 | 1,907,175 | $ 11 | 3,149,474 | (128,351) | (1,113,959) | |
Balance at beginning of period at Mar. 31, 2022 | | | | | | 160 |
Increase (Decrease) in Temporary Equity [Roll Forward] | | | | | | |
Net loss | 51 | | | | | (51) |
Balance at end of period at Jun. 30, 2022 | | | | | | 109 |
Balance at beginning of period (in shares) at Mar. 31, 2022 | | 375,286,039 | | | | |
Balance at beginning of period at Mar. 31, 2022 | 2,012,295 | $ 11 | 3,163,481 | (58,986) | (1,092,211) | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | |
Stock issued in connection with equity awards (in shares) | | 1,194,805 | | | | |
Stock issued in connection with equity awards | 8,267 | | 8,267 | | | |
Shares withheld related to net share settlement (in shares) | | (234,412) | | | | |
Shares withheld related to net share settlement | (9,384) | | (9,384) | | | |
Repurchase of Class A common stock (in shares) | | (5,749,856) | | | | |
Repurchase of Class A common stock | (210,830) | | (210,830) | | | |
Issuance of Class A common stock in connection with acquisitions (in shares) | | 2,579,692 | | | | |
Issuance of Class A common stock in connection with acquisitions | 137,422 | | 137,422 | | | |
Issuance of Class A common stock under employee stock purchase plan (in shares) | | 107,781 | | | | |
Issuance of Class A common stock under employee stock purchase plan | 3,663 | | 3,663 | | | |
Stock-based compensation | 56,855 | | 56,855 | | | |
Total other comprehensive income, net of tax | (69,365) | | | (69,365) | | |
Net loss | (21,748) | | | | (21,748) | |
Balance at end of period (in shares) at Jun. 30, 2022 | | 373,184,049 | | | | |
Balance at end of period at Jun. 30, 2022 | 1,907,175 | $ 11 | 3,149,474 | (128,351) | (1,113,959) | |
Balance at beginning of period at Dec. 31, 2022 | | | | | | 0 |
Increase (Decrease) in Temporary Equity [Roll Forward] | | | | | | |
Net loss | | | | | | 0 |
Balance at end of period at Mar. 31, 2023 | | | | | | 0 |
Balance at beginning of period (in shares) at Dec. 31, 2022 | | 373,873,683 | | | | |
Balance at beginning of period at Dec. 31, 2022 | 1,902,677 | $ 11 | 3,155,748 | (83,382) | (1,169,700) | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | |
Stock issued in connection with equity awards (in shares) | | 4,061,015 | | | | |
Stock issued in connection with equity awards | 2,974 | | 2,974 | | | |
Shares withheld related to net share settlement (in shares) | | (1,281,849) | | | | |
Shares withheld related to net share settlement | (19,167) | | (19,167) | | | |
Repurchase of Class A common stock (in shares) | | (5,396,617) | | | | |
Repurchase of Class A common stock | (76,358) | | (76,358) | | | |
Stock-based compensation | 82,966 | | 82,966 | | | |
Total other comprehensive income, net of tax | 10,006 | | | 10,006 | | |
Net loss | (4,518) | | | | (4,518) | |
Balance at end of period (in shares) at Mar. 31, 2023 | | 371,256,232 | | | | |
Balance at end of period at Mar. 31, 2023 | 1,898,580 | $ 11 | 3,146,163 | (73,376) | (1,174,218) | |
Balance at beginning of period at Dec. 31, 2022 | | | | | | 0 |
Increase (Decrease) in Temporary Equity [Roll Forward] | | | | | | |
Net loss | 0 | | | | | |
Balance at end of period at Jun. 30, 2023 | | | | | | 0 |
Balance at beginning of period (in shares) at Dec. 31, 2022 | | 373,873,683 | | | | |
Balance at beginning of period at Dec. 31, 2022 | 1,902,677 | $ 11 | 3,155,748 | (83,382) | (1,169,700) | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | |
Net loss | 75,839 | | | | | |
Balance at end of period (in shares) at Jun. 30, 2023 | | 348,496,613 | | | | |
Balance at end of period at Jun. 30, 2023 | 1,517,400 | $ 11 | 2,687,780 | (76,530) | (1,093,861) | |
Balance at beginning of period at Mar. 31, 2023 | | | | | | 0 |
Increase (Decrease) in Temporary Equity [Roll Forward] | | | | | | |
Net loss | 0 | | | | | 0 |
Balance at end of period at Jun. 30, 2023 | | | | | | $ 0 |
Balance at beginning of period (in shares) at Mar. 31, 2023 | | 371,256,232 | | | | |
Balance at beginning of period at Mar. 31, 2023 | 1,898,580 | $ 11 | 3,146,163 | (73,376) | (1,174,218) | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | |
Stock issued in connection with equity awards (in shares) | | 4,053,303 | | | | |
Stock issued in connection with equity awards | 3,677 | | 3,677 | | | |
Shares withheld related to net share settlement (in shares) | | (1,503,757) | | | | |
Shares withheld related to net share settlement | (37,436) | | (37,436) | | | |
Repurchase of Class A common stock (in shares) | | (25,483,835) | | | | |
Repurchase of Class A common stock | (503,448) | | (503,448) | | | |
Issuance of Class A common stock under employee stock purchase plan (in shares) | | 174,670 | | | | |
Issuance of Class A common stock under employee stock purchase plan | 2,071 | | 2,071 | | | |
Stock-based compensation | 76,753 | | 76,753 | | | |
Total other comprehensive income, net of tax | (3,154) | | | (3,154) | | |
Net loss | 80,357 | | | | 80,357 | |
Balance at end of period (in shares) at Jun. 30, 2023 | | 348,496,613 | | | | |
Balance at end of period at Jun. 30, 2023 | $ 1,517,400 | $ 11 | $ 2,687,780 | $ (76,530) | $ (1,093,861) | |