Income Taxes - Unrecognized Tax Benefit (Details) - USD ($) $ in Thousands |
12 Months Ended | ||
---|---|---|---|
Dec. 31, 2017 |
Dec. 31, 2016 |
Dec. 31, 2015 |
|
Unrecognized Tax Benefit Activity [Roll Forward] | |||
Beginning balance | $ 1,686 | $ 448 | $ 0 |
Additions based on tax positions related to the current year | 2,268 | 1,578 | 448 |
Reductions for tax positions of prior years | 0 | (340) | 0 |
Ending balance | $ 3,954 | $ 1,686 | $ 448 |