Provision for Income Taxes (Tables)
|
12 Months Ended |
Dec. 31, 2017 |
Income Tax Disclosure [Abstract] |
|
Schedule of loss before provision for income taxes by jurisdiction |
Loss before provision for income taxes by jurisdiction consists of the following:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Year ended December 31, |
|
2015 |
|
2016 |
|
2017 |
|
(in thousands) |
Jurisdiction |
|
|
|
|
|
Domestic |
$ |
(163,460 |
) |
|
$ |
(328,414 |
) |
|
$ |
(499,803 |
) |
Foreign |
(7,751 |
) |
|
(14,792 |
) |
|
(19,382 |
) |
Loss before provision for income taxes |
$ |
(171,211 |
) |
|
$ |
(343,206 |
) |
|
$ |
(519,185 |
) |
|
Schedule of provision for income taxes |
The provision for income taxes consists of the following:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Year ended December 31, |
|
2015 |
|
2016 |
|
2017 |
|
|
|
(in thousands) |
|
|
Current |
|
|
|
|
|
Federal |
$ |
— |
|
|
$ |
— |
|
|
$ |
— |
|
State and local |
9 |
|
|
26 |
|
|
43 |
|
International |
214 |
|
|
443 |
|
|
(2 |
) |
Total current income tax expense |
$ |
223 |
|
|
$ |
469 |
|
|
$ |
41 |
|
Deferred |
|
|
|
|
|
Federal |
(17,943 |
) |
|
(96,852 |
) |
|
58,116 |
|
State and local |
(2,174 |
) |
|
(10,750 |
) |
|
(20,267 |
) |
International |
— |
|
|
(1,032 |
) |
|
2,178 |
|
Valuation allowance |
18,344 |
|
|
107,937 |
|
|
(40,858 |
) |
Total deferred income tax expense (benefit) |
$ |
(1,773 |
) |
|
$ |
(697 |
) |
|
$ |
(831 |
) |
Total provision for (benefit from) income taxes |
$ |
(1,550 |
) |
|
$ |
(228 |
) |
|
$ |
(790 |
) |
|
Schedule of reconciliation of the statutory federal rate and effective tax rate |
The following table presents a reconciliation of the statutory federal rate and our effective tax rate:
|
|
|
|
|
|
|
|
|
|
|
Year ended December 31, |
|
2015 |
|
2016 |
|
2017 |
U.S. federal taxes at statutory rate |
34 |
% |
|
34 |
% |
|
34 |
% |
State taxes, net of federal benefit |
— |
|
|
— |
|
|
— |
|
Permanent differences |
3 |
|
|
2 |
|
|
(14 |
) |
Foreign rate differential |
(1 |
) |
|
(2 |
) |
|
(1 |
) |
Federal and state credits, net of reserve |
2 |
|
|
2 |
|
|
1 |
|
Impact of acquired deferred tax assets and liabilities |
1 |
|
|
1 |
|
|
— |
|
Change in valuation allowance |
(33 |
) |
|
(32 |
) |
|
8 |
|
Change in rate |
(1 |
) |
|
— |
|
|
(25 |
) |
Deferred adjustments |
(4 |
) |
|
(5 |
) |
|
(3 |
) |
Effective tax rate |
1 |
% |
|
— |
% |
|
— |
% |
|
Schedule of major components of deferred tax assets and liabilities |
The major components of deferred tax assets and liabilities consist of the following:
|
|
|
|
|
|
|
|
|
|
As of December 31, |
|
2016 |
|
2017 |
|
(in thousands) |
Deferred tax assets |
|
|
|
Net operating loss carryforwards |
$ |
167,961 |
|
|
$ |
245,442 |
|
Tax credit carryforwards |
21,111 |
|
|
31,575 |
|
Allowances and other |
27,729 |
|
|
15,293 |
|
Stock options |
32,986 |
|
|
20,162 |
|
Depreciation and amortization |
3,704 |
|
|
5,746 |
|
Total deferred tax assets |
$ |
253,491 |
|
|
$ |
318,218 |
|
Valuation allowance |
(200,797 |
) |
|
(302,298 |
) |
Total deferred tax assets, net of valuation allowance |
$ |
52,694 |
|
|
$ |
15,920 |
|
Deferred tax liabilities |
|
|
|
Convertible debt |
(31,592 |
) |
|
(16,348 |
) |
Depreciation and amortization |
(22,360 |
) |
|
— |
|
Total deferred tax liabilities |
$ |
(53,952 |
) |
|
$ |
(16,348 |
) |
Net deferred tax liabilities |
$ |
(1,258 |
) |
|
$ |
(428 |
) |
|
Schedule of reconciliation of beginning and ending amounts of unrecognized tax benefits |
A reconciliation of the beginning and ending amounts of unrecognized tax benefits (excluding interest and penalties) is as follows:
|
|
|
|
|
|
|
|
|
|
Year ended December 31, |
|
2016 |
|
2017 |
|
(in thousands) |
Beginning balance |
$ |
6,864 |
|
|
$ |
9,412 |
|
Increases related to tax positions taken during a prior year |
— |
|
|
— |
|
Decreases related to tax positions taken during a prior year |
(13 |
) |
|
(37 |
) |
Increases related to tax positions taken during the current year |
2,561 |
|
|
2,995 |
|
Ending balance |
$ |
9,412 |
|
|
$ |
12,370 |
|
|