Income Tax Disclosure [Abstract] | Period [Axis] |
---|
2016-01-01 - 2016-12-31 |
---|
Income Tax Disclosure [Abstract] | |
Components of income (loss) before income taxes | The components of income (loss) before taxes on income are as follows: | | | | | | | | | | | | | | Year ended December 31, | | 2016 | | 2015 | | 2014 | | (in thousands) | United States | $ | (17,969 | ) | | $ | (12,539 | ) | | $ | (10,260 | ) | Foreign | 42,297 |
| | 87,121 |
| | 4,518 |
| Income (loss) before taxes on income | $ | 24,328 |
| | $ | 74,582 |
| | $ | (5,742 | ) |
|
Schedule of the components of the provision for income taxes | The components of the provision for (benefit from) income taxes are as follows: | | | | | | | | | | | | | | Year ended December 31, | | 2016 | | 2015 | | 2014 | | (in thousands) | Current: | |
| | |
| | |
| U.S. federal | $ | (1,333 | ) | | $ | (1,578 | ) | | $ | 162 |
| State and local | 220 |
| | 284 |
| | 163 |
| Foreign | 6,161 |
| | 5,737 |
| | 4,683 |
| Total current | 5,048 |
| | 4,443 |
| | 5,008 |
| Deferred: | |
| | |
| | |
| U.S. federal | — |
| | — |
| | 12,140 |
| State and local | — |
| | — |
| | 1,539 |
| Foreign | 762 |
| | (22,755 | ) | | (420 | ) | Total deferred | 762 |
| | (22,755 | ) | | 13,259 |
| Provision for (benefit from) taxes on income | $ | 5,810 |
| | $ | (18,312 | ) | | $ | 18,267 |
|
|
Schedule of significant deferred tax assets and liabilities | At December 31, 2016 and 2015, significant deferred tax assets and liabilities are as follows: | | | | | | | | | | December 31, | | 2016 | | 2015 | | (in thousands) | Deferred tax assets: | |
| | |
| Net operating loss and credit carryforwards | $ | 75,350 |
| | $ | 39,200 |
| Reserves and accruals | 13,841 |
| | 10,691 |
| Depreciation and amortization | 358 |
| | 441 |
| Other | 7,128 |
| | 10,747 |
| Gross deferred tax assets | 96,677 |
| | 61,079 |
| Valuation allowance | (55,827 | ) | | (28,999 | ) | Total deferred tax assets | 40,850 |
| | 32,080 |
| Intangible assets | (18,437 | ) | | (8,858 | ) | Total deferred tax liabilities | (18,437 | ) | | (8,858 | ) | Net deferred tax assets | $ | 22,413 |
| | $ | 23,222 |
|
|
Schedule of reconciliation of the statutory federal income tax rate to the Company's effective tax rate | The reconciliation of the statutory federal income tax rate to the Company's effective tax rate is as follows: | | | | | | | | | | | December 31, | | 2016 | | 2015 | | 2014 | Tax at statutory rate | 35.0 | % | | 35.0 | % | | 35.0 | % | State, net of federal benefit | 0.8 |
| | 0.2 |
| | (28.6 | ) | Meals and entertainment | 1.6 |
| | 0.2 |
| | (1.3 | ) | Tax at rates other than the statutory rate | (84.5 | ) | | (42.5 | ) | | 56.1 |
| Valuation allowance | 40.8 |
| | (22.0 | ) | | (280.6 | ) | Share-based compensation | 1.3 |
| | — |
| | (4.0 | ) | Net change in tax reserves | 17.1 |
| | 6.0 |
| | (87.4 | ) | Adjustment of deferred tax balances following changes in tax rates | 10.9 |
| | — |
| | — |
| Other, net | 0.9 |
| | (1.5 | ) | | (7.3 | ) | Provision for (benefit from) taxes on income | 23.9 | % | | (24.6 | )% | | (318.1 | )% |
|
Schedule of reconciliation of unrecognized tax benefits, excluding penalties and interest | The following summarizes the activity related to the Company's unrecognized tax benefits: | | | | | | | | | | | | | | December 31, | | 2016 | | 2015 | | 2014 | | (in thousands) | Gross unrecognized tax benefits, beginning of the period | $ | 25,382 |
| | $ | 18,037 |
| | $ | 23,585 |
| Increases in tax positions for prior years | 252 |
| | 1,153 |
| | 299 |
| Decreases in tax positions for prior years | — |
| | (131 | ) | | (10,339 | ) | Increases in tax positions for current year | 8,131 |
| | 7,908 |
| | 5,170 |
| Increases in tax positions acquired or assumed in a business combination | 8,990 |
| | — |
| | — |
| Decreases due to lapses of statutes of limitations | (1,295 | ) | | (1,585 | ) | | (678 | ) | Gross unrecognized tax benefits, end of the period | $ | 41,460 |
| | $ | 25,382 |
| | $ | 18,037 |
|
|