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