Condensed Consolidated Statements of Redeemable Noncontrolling Interest and Stockholders’ Equity (Deficit) - USD ($) $ in Thousands | Total | Equity Grants | IPO | Class A and Class B Common Stock | Class A and Class B Common Stock Equity Grants | Class A and Class B Common Stock IPO | Additional Paid-In Capital | Additional Paid-In Capital Equity Grants | Additional Paid-In Capital IPO | Accumulated Other Comprehensive Loss | Accumulated Deficit | Redeemable Noncontrolling Interest | Convertible Preferred Stock Convertible Preferred Stock | Convertible Preferred Stock Convertible Preferred Stock IPO |
Balance at beginning of period at Dec. 31, 2020 | | | | | | | | | | | | $ 309 | | |
Increase (Decrease) in Temporary Equity [Roll Forward] | | | | | | | | | | | | | | |
Net loss | | | | | | | | | | | | (54) | | |
Balance at end of period at Mar. 31, 2021 | | | | | | | | | | | | 255 | | |
Balance at beginning of period (in shares) at Dec. 31, 2020 | | | | 226,364,401 | | | | | | | | | 109,090,908 | |
Balance at beginning of period at Dec. 31, 2020 | $ (158,545) | | | $ 7 | | | $ 453,655 | | | $ 604 | $ (1,012,400) | | $ 399,589 | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | | | | |
Stock issued in connection with equity awards (in shares) | | | | 1,232,156 | | | | | | | | | | |
Stock issued in connection with equity awards | 10,143 | | | | | | 10,143 | | | | | | | |
Repurchases of stock (in shares) | | | | (214,509) | | | | | | | | | | |
Stock-based compensation | 29,667 | | | | | | 29,667 | | | | | | | |
Other comprehensive loss, net | (721) | | | | | | | | | (721) | | | | |
Net loss | (10,521) | | | | | | | | | | (10,521) | | | |
Balance at end of period (in shares) at Mar. 31, 2021 | | | | 227,382,048 | | | | | | | | | 109,090,908 | |
Balance at end of period at Mar. 31, 2021 | (129,977) | | | $ 7 | | | 493,465 | | | (117) | (1,022,921) | | $ 399,589 | |
Balance at beginning of period at Dec. 31, 2020 | | | | | | | | | | | | 309 | | |
Increase (Decrease) in Temporary Equity [Roll Forward] | | | | | | | | | | | | | | |
Net loss | (149) | | | | | | | | | | | | | |
Balance at end of period at Sep. 30, 2021 | | | | | | | | | | | | 160 | | |
Balance at beginning of period (in shares) at Dec. 31, 2020 | | | | 226,364,401 | | | | | | | | | 109,090,908 | |
Balance at beginning of period at Dec. 31, 2020 | (158,545) | | | $ 7 | | | 453,655 | | | 604 | (1,012,400) | | $ 399,589 | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | | | | |
Net loss | 4,080 | | | | | | | | | | | | | |
Balance at end of period (in shares) at Sep. 30, 2021 | | | | 373,641,135 | | | | | | | | | 0 | |
Balance at end of period at Sep. 30, 2021 | 2,049,059 | | | $ 11 | | | 3,084,928 | | | (27,560) | (1,008,320) | | $ 0 | |
Balance at beginning of period at Mar. 31, 2021 | | | | | | | | | | | | 255 | | |
Increase (Decrease) in Temporary Equity [Roll Forward] | | | | | | | | | | | | | | |
Net loss | | | | | | | | | | | | (59) | | |
Balance at end of period at Jun. 30, 2021 | | | | | | | | | | | | 196 | | |
Balance at beginning of period (in shares) at Mar. 31, 2021 | | | | 227,382,048 | | | | | | | | | 109,090,908 | |
Balance at beginning of period at Mar. 31, 2021 | (129,977) | | | $ 7 | | | 493,465 | | | (117) | (1,022,921) | | $ 399,589 | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | | | | |
Stock issued in connection with equity awards (in shares) | | | | 1,020,588 | | | | | | | | | | |
Stock issued in connection with equity awards | 5,190 | | | | | | 5,190 | | | | | | | |
Repurchases of stock (in shares) | | | | (390,000) | | | | | | | | | | |
Exercise of warrants, net of shares withheld (in shares) | | | | 6,229,081 | | | | | | | | | | |
Issuance of Class A common stock in connection with acquisitions (in shares) | | | | 6,320,688 | | | | | | | | | | |
Issuance of Class A common stock in connection with acquisitions | 342,170 | | | | | | 342,170 | | | | | | | |
Issuance of Class A common stock (in shares) | | | | 12,006 | | | | | | | | | | |
Issuance of Class A common stock in connection with initial public offering, net of issuance costs as adjusted for cost reimbursement (in shares) | | | | 22,500,000 | | | | | | | | | | |
Issuance of Class A common stock in connection with initial public offering, net of issuance costs as adjusted for cost reimbursement | 1,747,971 | | | $ 1 | | | 1,747,970 | | | | | | | |
Conversion of preferred stock to common stock in connection with initial public offering (in shares) | | | | | | 109,090,908 | | | | | | | | (109,090,908) |
Conversion of preferred stock to common stock in connection with initial public offering | | | $ 0 | | | $ 3 | | | $ 399,586 | | | | | $ (399,589) |
Stock-based compensation | 26,852 | | | | | | 26,852 | | | | | | | |
Other comprehensive loss, net | (9,188) | | | | | | | | | (9,188) | | | | |
Net loss | 14,423 | | | | | | | | | | 14,423 | | | |
Balance at end of period (in shares) at Jun. 30, 2021 | | | | 372,165,319 | | | | | | | | | 0 | |
Balance at end of period at Jun. 30, 2021 | 1,997,441 | | | $ 11 | | | 3,015,233 | | | (9,305) | (1,008,498) | | $ 0 | |
Increase (Decrease) in Temporary Equity [Roll Forward] | | | | | | | | | | | | | | |
Net loss | (36) | | | | | | | | | | | (36) | | |
Balance at end of period at Sep. 30, 2021 | | | | | | | | | | | | 160 | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | | | | |
Stock issued in connection with equity awards (in shares) | | | | | 991,787 | | | | | | | | | |
Stock issued in connection with equity awards | | $ 7,782 | | | | | | $ 7,782 | | | | | | |
Issuance of Class A common stock in connection with acquisitions (in shares) | | | | 405,205 | | | | | | | | | | |
Issuance of Class A common stock in connection with acquisitions | 25,000 | | | | | | 25,000 | | | | | | | |
Issuance of Class A common stock (in shares) | | | | 78,824 | | | | | | | | | | |
Issuance of Class A common stock | 2,503 | | | | | | 2,503 | | | | | | | |
Stock-based compensation | 34,410 | | | | | | 34,410 | | | | | | | |
Other comprehensive loss, net | (18,255) | | | | | | | | | (18,255) | | | | |
Net loss | 178 | | | | | | | | | | 178 | | | |
Balance at end of period (in shares) at Sep. 30, 2021 | | | | 373,641,135 | | | | | | | | | 0 | |
Balance at end of period at Sep. 30, 2021 | 2,049,059 | | | $ 11 | | | 3,084,928 | | | (27,560) | (1,008,320) | | $ 0 | |
Balance at beginning of period at Dec. 31, 2021 | 201 | | | | | | | | | | | 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 | | | | | | | | | 0 | |
Balance at beginning of period at Dec. 31, 2021 | 2,138,090 | | | $ 11 | | | 3,160,487 | | | (45,454) | (976,954) | | $ 0 | |
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) | | | | | | | |
Repurchases of stock - repurchase program (in shares) | | | | (893,556) | | | | | | | | | | |
Repurchases of stock - repurchase program | (43,697) | | | | | | (43,697) | | | | | | | |
Stock-based compensation | 44,377 | | | | | | 44,377 | | | | | | | |
Other comprehensive loss, net | (13,532) | | | | | | | | | (13,532) | | | | |
Net loss | (115,257) | | | | | | | | | | (115,257) | | | |
Balance at end of period (in shares) at Mar. 31, 2022 | | | | 375,286,039 | | | | | | | | | 0 | |
Balance at end of period at Mar. 31, 2022 | 2,012,295 | | | $ 11 | | | 3,163,481 | | | (58,986) | (1,092,211) | | $ 0 | |
Balance at beginning of period at Dec. 31, 2021 | 201 | | | | | | | | | | | 201 | | |
Increase (Decrease) in Temporary Equity [Roll Forward] | | | | | | | | | | | | | | |
Net loss | (201) | | | | | | | | | | | | | |
Balance at end of period at Sep. 30, 2022 | 0 | | | | | | | | | | | 0 | | |
Balance at beginning of period (in shares) at Dec. 31, 2021 | | | | 375,089,360 | | | | | | | | | 0 | |
Balance at beginning of period at Dec. 31, 2021 | 2,138,090 | | | $ 11 | | | 3,160,487 | | | (45,454) | (976,954) | | $ 0 | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | | | | |
Net loss | (113,234) | | | | | | | | | | | | | |
Balance at end of period (in shares) at Sep. 30, 2022 | | | | 371,649,578 | | | | | | | | | 0 | |
Balance at end of period at Sep. 30, 2022 | 1,881,902 | | | $ 11 | | | 3,112,224 | | | (140,145) | (1,090,188) | | $ 0 | |
Balance at beginning of period at Mar. 31, 2022 | | | | | | | | | | | | 160 | | |
Increase (Decrease) in Temporary Equity [Roll Forward] | | | | | | | | | | | | | | |
Net loss | | | | | | | | | | | | (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 | | | | | | | | | 0 | |
Balance at beginning of period at Mar. 31, 2022 | 2,012,295 | | | $ 11 | | | 3,163,481 | | | (58,986) | (1,092,211) | | $ 0 | |
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) | | | | | | | |
Repurchases of stock - repurchase program (in shares) | | | | (5,749,856) | | | | | | | | | | |
Repurchases of stock - repurchase program | (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 common stock under employee stock purchase plan (in shares) | | | | 107,781 | | | | | | | | | | |
Issuance of common stock under employee stock purchase plan | 3,663 | | | | | | 3,663 | | | | | | | |
Stock-based compensation | 56,855 | | | | | | 56,855 | | | | | | | |
Other comprehensive loss, net | (69,365) | | | | | | | | | (69,365) | | | | |
Net loss | (21,748) | | | | | | | | | | (21,748) | | | |
Balance at end of period (in shares) at Jun. 30, 2022 | | | | 373,184,049 | | | | | | | | | 0 | |
Balance at end of period at Jun. 30, 2022 | 1,907,175 | | | $ 11 | | | 3,149,474 | | | (128,351) | (1,113,959) | | $ 0 | |
Increase (Decrease) in Temporary Equity [Roll Forward] | | | | | | | | | | | | | | |
Net loss | (109) | | | | | | | | | | | (109) | | |
Balance at end of period at Sep. 30, 2022 | 0 | | | | | | | | | | | $ 0 | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | | | | |
Stock issued in connection with equity awards (in shares) | | | | 1,360,814 | | | | | | | | | | |
Stock issued in connection with equity awards | 6,293 | | | | | | 6,293 | | | | | | | |
Shares withheld related to net share settlement (in shares) | | | | (149,015) | | | | | | | | | | |
Shares withheld related to net share settlement | (3,996) | | | | | | (3,996) | | | | | | | |
Repurchases of stock - repurchase program (in shares) | | | | (2,746,270) | | | | | | | | | | |
Repurchases of stock - repurchase program | (84,353) | | | | | | (84,353) | | | | | | | |
Stock-based compensation | 44,806 | | | | | | 44,806 | | | | | | | |
Other comprehensive loss, net | (11,794) | | | | | | | | | (11,794) | | | | |
Net loss | 23,771 | | | | | | | | | | 23,771 | | | |
Balance at end of period (in shares) at Sep. 30, 2022 | | | | 371,649,578 | | | | | | | | | 0 | |
Balance at end of period at Sep. 30, 2022 | $ 1,881,902 | | | $ 11 | | | $ 3,112,224 | | | $ (140,145) | $ (1,090,188) | | $ 0 | |