Entity information:

14. Income Taxes

        The following table presents domestic and foreign components of loss before income taxes for the periods presented (in thousands):

                                                                                                                                                                                    

 

 

Year Ended December 31,

 

 

 

2017

 

2016

 

2015

 

United States

 

$

(46,737

)

$

(14,002

)

$

(23,962

)

International

 

 

(16,266

)

 

(26,996

)

 

(11,420

)

​  

​  

​  

​  

​  

​  

Loss before provision for income taxes

 

$

(63,003

)

$

(40,998

)

$

(35,382

)

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

        Provision for income taxes consists of the following (in thousands):

                                                                                                                                                                                    

 

 

Year Ended December 31,

 

 

 

2017

 

2016

 

2015

 

Current:

 

 

 

 

 

 

 

 

 

 

Federal

 

$

99

 

$

 

$

 

State

 

 

78

 

 

83

 

 

45

 

Foreign

 

 

823

 

 

214

 

 

213

 

​  

​  

​  

​  

​  

​  

Total

 

 

1,000

 

 

297

 

 

258

 

Deferred:

 

 

 

 

 

 

 

 

 

 

Federal

 

 

28

 

 

2

 

 

(109

)

State

 

 

10

 

 

 

 

 

Foreign

 

 

(333

)

 

27

 

 

(27

)

​  

​  

​  

​  

​  

​  

Total

 

 

(295

)

 

29

 

 

(136

)

​  

​  

​  

​  

​  

​  

Provision for income taxes

 

$

705

 

$

326

 

$

122

 

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

        The following table presents a reconciliation of the statutory federal tax rate and the Company's effective tax rate for the years ended December 31, 2017, 2016 and 2015:

                                                                                                                                                                                    

 

 

Year Ended
December 31,

 

 

 

2017

 

2016

 

2015

 

Tax benefit at federal statutory rate

 

 

34

%

 

34

%

 

34

%

State tax, net of federal benefit

 

 

10

 

 

11

 

 

(3

)

Stock-based compensation

 

 

47

 

 

23

 

 

(8

)

Credits

 

 

8

 

 

2

 

 

4

 

Foreign rate differential

 

 

(8

)

 

(23

)

 

(11

)

Reserve for uncertain tax positions

 

 

 

 

(12

)

 

 

Change in valuation allowance

 

 

(46

)

 

(34

)

 

(14

)

Change in federal statutory rate

 

 

(45

)

 

 

 

 

Other

 

 

(1

)

 

(2

)

 

(2

)

​  

​  

​  

​  

​  

​  

Effective tax rate

 

 

(1

)%

 

(1

)%

 

%

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

        Deferred income taxes reflect the net tax effects of temporary differences between the carrying amounts of assets and liabilities for financial reporting purposes and the amounts used for income tax purposes. The following table presents the significant components of the Company's deferred tax assets and liabilities (in thousands):

                                                                                                                                                                                    

 

 

As of December 31,

 

 

 

2017

 

2016

 

2015

 

Deferred tax assets:

 

 

 

 

 

 

 

 

 

 

Net operating loss carryforwards

 

$

56,138

 

$

31,090

 

$

27,401

 

Accrued and prepaid expenses

 

 

9,140

 

 

16,698

 

 

7,603

 

Stock-based compensation

 

 

7,131

 

 

5,368

 

 

1,433

 

Research and development credits

 

 

16,212

 

 

7,807

 

 

6,022

 

Charitable contributions

 

 

1,233

 

 

1,458

 

 

 

Other

 

 

472

 

 

 

 

 

​  

​  

​  

​  

​  

​  

Gross deferred tax assets

 

 

90,326

 

 

62,421

 

 

42,459

 

Valuation allowance

 

 

(78,900

)

 

(49,601

)

 

(35,613

)

​  

​  

​  

​  

​  

​  

Net deferred tax assets

 

 

11,426

 

 

12,820

 

 

6,846

 

Deferred tax liabilities:

 

 

 

 

 

 

 

 

 

 

Capitalized software

 

 

(7,664

)

 

(7,086

)

 

(4,084

)

Prepaid expenses

 

 

(1,015

)

 

(452

)

 

(2,035

)

Acquired intangibles

 

 

(2,101

)

 

(152

)

 

(460

)

Property and equipment

 

 

(2,380

)

 

(4,931

)

 

(240

)

Deferred commissions

 

 

(718

)

 

(201

)

 

 

​  

​  

​  

​  

​  

​  

Net deferred tax asset (liability)

 

$

(2,452

)

$

(2

)

$

27

 

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

        As of December 31, 2017, the Company had approximately $229.3 million in federal net operating loss carryforwards and $12.6 million in federal tax credits. If not utilized, the federal net operating loss and tax credit carryforwards will expire at various dates beginning in 2029.

        As of December 31, 2017, the Company had approximately $159.6 million in state net operating loss carryforwards and $11.0 million in state tax credits. If not utilized, the state net operating loss carryforwards will expire at various dates beginning in 2026. The California state tax credits can be carried forward indefinitely.

        A limitation may apply to the use of the net operating loss and credit carryforwards, under provisions of the Internal Revenue Code of 1986, as amended, and similar state tax provisions that are applicable if the Company experiences an "ownership change." An ownership change may occur, for example, as a result of issuance of new equity. Should these limitations apply, the carryforwards would be subject to an annual limitation, resulting in a potential reduction in the gross deferred tax assets before considering the valuation allowance.

        The Company's accounting for deferred taxes involves the evaluation of a number of factors concerning the realizability of its net deferred tax assets. The Company primarily considered such factors as its history of operating losses, the nature of the Company's deferred tax assets, and the timing, likelihood and amount, if any, of future taxable income during the periods in which those temporary differences and carryforwards become deductible. At present, the Company does not believe that it is more likely than not that the net deferred tax assets will be realized, accordingly, a full valuation allowance has been established. The valuation allowance increased by approximately $29.3 million and $14.0 million during the years ended December 31, 2017 and 2016, respectively.

        A reconciliation of the beginning and ending amount of unrecognized tax benefits is as follows (in thousands):

                                                                                                                                                                                    

 

 

Year Ended December 31,

 

 

 

2017

 

2016

 

2015

 

Unrecognized tax benefit, beginning of year

 

$

12,275

 

$

1,679

 

$

1,024

 

Gross increases for tax positions of prior years

 

 

493

 

 

1,996

 

 

 

Gross decrease for tax positions of prior years

 

 

(6,331

)

 

 

 

 

Gross increases for tax positions of current years

 

 

3,008

 

 

8,600

 

 

655

 

​  

​  

​  

​  

​  

​  

Unrecognized tax benefit, end of year

 

$

9,445

 

$

12,275

 

$

1,679

 

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

​  

        As of December 31, 2017, the Company had approximately $9.4 million of unrecognized tax benefits. If the $9.4 million is recognized, $0.4 million would affect the effective tax rate. The remaining amount would be offset by the reversal of related deferred tax assets which are subject to a full valuation allowance.

        The Company recognizes interest and penalties, if any, related to uncertain tax positions in its income tax provision. As of December 31, 2017, the Company has accumulated $35,000 in both interest and penalties related to uncertain tax positions.

        The Company does not anticipate any significant changes within 12 months of December 31, 2017, in its uncertain tax positions that would be material to the consolidated financial statements taken as a whole because nearly all of the unrecognized tax benefit has been offset by a deferred tax asset, which has been reduced by a valuation allowance.

        The Company files U.S. federal income tax returns as well as income tax returns in many U.S. states and foreign jurisdictions. As of December 31, 2017, the tax years 2008 through the current period remain open to examination by the major jurisdictions in which the Company is subject to tax. Fiscal years outside the normal statute of limitation remain open to audit by tax authorities due to tax attributes generated in those early years, which have been carried forward and may be audited in subsequent years when utilized. The Company is not currently subject to U.S. federal, state and local, or non-U.S. income tax examinations by any tax authorities.

        On December 22, 2017, the U.S. government enacted comprehensive tax legislation commonly referred to as the Tax Cuts and Jobs Act ("Tax Act"). The Tax Act makes broad and complex changes to the U.S. tax code including, but not limited to, (1) reducing the U.S. federal corporate tax rate from 35% to 21%; (2) requiring companies to pay a one-time transition tax on certain unrepatriated earnings of foreign subsidiaries; (3) generally eliminating U.S. federal income taxes on dividends from foreign subsidiaries; (4) requiring current inclusion in U.S. federal taxable income of certain earnings of controlled foreign corporations; (5) eliminating the corporate alternative minimum tax (AMT) and changing how existing AMT credits can be realized; (6) creating the base erosion anti-abuse tax (BEAT), a new minimum tax; (7) creating a new limitation on deductible interest expense; and (8) changing rules related to uses and limitations of net operating loss carryforwards created in tax years beginning after December 31, 2017.

        We remeasured certain deferred tax assets and liabilities based on rates at which they are expected to reverse in the future, which is generally 21%. The rate reduction would generally take effect on January 1, 2018. Consequently, any changes in the US corporate income tax rate will impact the carrying value of our deferred tax assets. Under the new corporate income tax rate of 21%, U.S. federal and state deferred tax assets will decrease by approximately $28.0 million and the valuation allowance will decrease by approximately $28.0 million. Due to the valuation allowance on the deferred tax assets, the provisional amount recorded related to the remeasurement was zero.

        The SEC staff issued SAB 118, which provides guidance on accounting for the tax effects of the Tax Act. SAB 118 provides a measurement period that should not extend beyond one year from the Tax Act enactment date for companies to complete the accounting under ASC 740. In accordance with SAB 118, a company must reflect the income tax effects of those aspects of the Act for which the accounting under ASC 740 is complete. To the extent that a company's accounting for certain income tax effects of the Tax Act is incomplete but it is able to determine a reasonable estimate, it must record a provisional estimate in the financial statements. If a company cannot determine a provisional estimate to be included in the financial statements, it should continue to apply ASC 740 on the basis of the provisions of the tax laws that were in effect immediately before the enactment of the Tax Act.

        Our accounting for the following element of the Tax Act is complete.

        Reduction of U.S. federal corporate tax rate: The Act reduces the corporate tax rate to 21%, effective January 1, 2018. Consequently, we have recorded a decrease to our federal and state deferred tax assets of $28.0 million, with a corresponding net adjustment to valuation allowance of $28.0 million for the year ended December 31, 2017.

        Our accounting for the following elements of the Tax Act is incomplete, and we were not yet able to make reasonable estimates of the effects. Therefore, no provisional adjustments were recorded.

        Indefinite reinvestment assertion:    Although the mandatory deemed repatriation tax has removed U.S. federal taxes on distributions to the U.S., the Company continues to evaluate the expected manner of recovery to determine whether or not to continue to assert indefinite reinvestment on a part or all the foreign undistributed earnings. This requires the Company to re-evaluate its reinvestment policies in light of the 2017 Act and calculate the tax cost that is incremental to the deemed repatriation tax, (e.g. foreign withholding, state income taxes of repatriating cash to the U.S. While the provisional tax expense for the year ended December 31, 2017 is based upon an assumption that foreign undistributed earnings are indefinitely reinvested, the Company's plan may change upon the completion of the analysis of the impact of the 2017 Act and completion of the calculation of the incremental tax effects on the repatriation of foreign undistributed earnings. In the event the Company determines not to continue to assert the permanent reinvestment of part or all of foreign undistributed earnings, such a determination could result in the accrual and payment of additional foreign, state and local taxes.

        Global intangible low taxed income (GILTI): The Tax Act creates a new requirement that certain income (i.e., GILTI) earned by controlled foreign corporations (CFCs) must be included currently in the gross income of the CFCs' U.S. shareholder. GILTI is the excess of the shareholder's "net CFC tested income" over the net deemed tangible income return, which is currently defined as the excess of (1) 10% of the aggregate of the U.S. shareholder's pro rata share of the qualified business asset investment of each CFC with respect to which it is a U.S. shareholder over (2) the amount of certain interest expense taken into account in the determination of net CFC-tested income.

        Because of the complexity of the new GILTI tax rules, we are continuing to evaluate this provision of the Tax Act and the application of ASC 740. Under U.S. GAAP, we are allowed to make an accounting policy choice of either (1) treating taxes due on future U.S. inclusions in taxable income related to GILTI as a current-period expense when incurred (the "period cost method") or (2) factoring such amounts into a company's measurement of its deferred taxes (the "deferred method"). Our selection of an accounting policy with respect to the new GILTI tax rules will depend, in part, on analyzing our global income to determine whether we expect to have future U.S. inclusions in taxable income related to GILTI and, if so, what the impact is expected to be. Because whether we expect to have future U.S. inclusions in taxable income related to GILTI depends on not only our current structure and estimated future results of global operations but also our intent and ability to modify our structure and/or our business, we are not yet able to reasonably estimate the effect of this provision of the Tax Act. Therefore, we have not made any adjustments related to potential GILTI tax in our financial statements and have not made a policy decision regarding whether to record deferred taxes on GILTI.