Income Taxes - Summary of Reconciliation of Beginning and Ending Amount of Unrecognized Tax Benefits (Details) - USD ($) $ in Thousands |
12 Months Ended | |
|---|---|---|
Dec. 31, 2020 |
Dec. 31, 2019 |
|
| Income Tax Disclosure [Abstract] | ||
| Unrecognized tax benefits at beginning of year | $ 19,487 | $ 14,541 |
| Gross increase for tax positions of current year | 9,959 | 10,378 |
| Gross decrease due to statue expiration | (75) | (88) |
| Gross decrease for tax positions of prior years | (196) | (5,344) |
| Unrecognized tax benefits balance at end of year | $ 29,175 | $ 19,487 |