Income Taxes - Summary of Activity Related to Gross Unrecognized Tax Benefits (Details) - USD ($) $ in Thousands |
12 Months Ended | |
|---|---|---|
Dec. 31, 2019 |
Dec. 31, 2018 |
|
| Income Tax Uncertainties [Abstract] | ||
| Beginning balance of unrecognized tax benefits | $ 251,808 | $ 203,177 |
| Additions for current year tax positions | 40,221 | 43,197 |
| Additions for prior year tax positions | 1,977 | 7,615 |
| Reductions for prior year tax positions | (7,425) | (1,965) |
| Changes due to foreign currency translation adjustments | 24 | (216) |
| Ending balance of unrecognized tax benefits (excluding interest and penalties) | 286,605 | 251,808 |
| Interest and penalties associated with unrecognized tax benefits | 200 | 260 |
| Ending balance of unrecognized tax benefits (including interest and penalties) | $ 286,805 | $ 252,068 |