Income Taxes - Components of Income Before Provision for Income Taxes (Details) - USD ($) $ in Thousands |
3 Months Ended | 12 Months Ended | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 31, 2019 |
Sep. 30, 2019 |
Jun. 30, 2019 |
Mar. 31, 2019 |
Dec. 31, 2018 |
Sep. 30, 2018 |
Jun. 30, 2018 |
Mar. 31, 2018 |
Dec. 31, 2019 |
Dec. 31, 2018 |
Dec. 31, 2017 |
|
Income Tax Disclosure [Abstract] | |||||||||||
United States | $ 22,553 | $ 40,245 | $ 29,121 | ||||||||
Foreign | 1,719 | 210 | 535 | ||||||||
Income before provision (benefit) for income taxes | $ (4,237) | $ 8,753 | $ 13,684 | $ 6,072 | $ 5,823 | $ 11,299 | $ 13,646 | $ 9,687 | $ 24,272 | $ 40,455 | $ 29,656 |