Summary of Significant Accounting Policies - Summary of Reclassifications of Stock-Based Compensation Expenses (Detail) - USD ($) $ in Thousands |
12 Months Ended | ||
---|---|---|---|
Dec. 31, 2020 |
Dec. 31, 2019 |
Dec. 31, 2018 |
|
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] | |||
Share-based compensation expense | $ 20,491 | $ 26,499 | $ 18,926 |
General and Administrative Expense [Member] | |||
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] | |||
Share-based compensation expense | 26,499 | 18,926 | |
Sales and Marketing Expense [Member] | |||
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] | |||
Share-based compensation expense | 2,729 | 462 | |
Research and Development Expense [Member] | |||
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] | |||
Share-based compensation expense | $ 2,614 | $ 1,600 |