Income Taxes - Schedule of Beginning and Ending Amount of Unrecognized Tax Benefits (Details) - USD ($) $ in Thousands |
12 Months Ended | ||
---|---|---|---|
Dec. 31, 2019 |
Dec. 31, 2018 |
Dec. 31, 2017 |
|
Reconciliation of Unrecognized Tax Benefits, Excluding Amounts Pertaining to Examined Tax Returns [Roll Forward] | |||
Beginning of the period | $ 60,780 | $ 81,073 | $ 81,325 |
Additions for tax positions related to prior years | 321 | 4,379 | 5,691 |
Decreases for tax positions related to prior years | (2,349) | (1,541) | (10,095) |
Additions for tax positions related to current year | 9,940 | 9,725 | 11,551 |
Decreases for unrecognized tax benefits as a result of a lapse in the statute of limitations | (3,150) | (5,282) | (7,355) |
Settlements for tax positions related to prior years | 0 | (27,574) | (44) |
End of the period | $ 65,542 | $ 60,780 | $ 81,073 |