Stock-Based Compensation - Schedule of Share-based Compensation Expense Recorded in the Consolidated Statements of Comprehensive Loss (Details) - USD ($) $ in Thousands |
3 Months Ended | |
|---|---|---|
Mar. 31, 2023 |
Mar. 31, 2022 |
|
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ||
| Total stock-based compensation expense | $ 18,086 | $ 14,019 |
| Cost of revenues | ||
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ||
| Total stock-based compensation expense | 3,373 | 2,739 |
| Sales and marketing | ||
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ||
| Total stock-based compensation expense | 4,260 | 3,326 |
| Research and development | ||
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ||
| Total stock-based compensation expense | 3,776 | 2,852 |
| General and administrative | ||
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ||
| Total stock-based compensation expense | $ 6,677 | $ 5,102 |