Stock-Based Compensation - Summary of Stock-Based Compensation Expense (Details) - USD ($) $ in Thousands |
3 Months Ended | 9 Months Ended | ||
---|---|---|---|---|
Sep. 30, 2022 |
Sep. 30, 2021 |
Sep. 30, 2022 |
Sep. 30, 2021 |
|
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||||
Stock-based compensation expense | $ 16,226 | $ 19,243 | $ 54,764 | $ 152,510 |
Cost of services | ||||
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||||
Stock-based compensation expense | 1,149 | 451 | 2,689 | 502 |
Selling, general, and administrative expense | ||||
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||||
Stock-based compensation expense | $ 15,077 | $ 18,792 | $ 52,075 | $ 152,008 |