Income Taxes (Tables)
|
12 Months Ended |
Dec. 31, 2016 |
Income Taxes |
|
Summary of income (loss) before income tax provision |
|
|
|
|
|
|
|
|
|
|
|
|
|
Year Ended December 31,
|
|
|
|
2016
|
|
2015
|
|
2014
|
|
Domestic
|
|
$
|
(47,059)
|
|
$
|
7,059
|
|
$
|
21,437
|
|
Foreign
|
|
|
6,569
|
|
|
1,929
|
|
|
1,070
|
|
Total
|
|
$
|
(40,490)
|
|
$
|
8,988
|
|
$
|
22,507
|
|
|
Summary of components of the income tax provision charged to operations |
|
|
|
|
|
|
|
|
|
|
|
|
|
Year Ended December 31,
|
|
|
|
2016
|
|
2015
|
|
2014
|
|
Current:
|
|
|
|
|
|
|
|
|
|
|
Federal
|
|
$
|
3,812
|
|
$
|
12,731
|
|
$
|
11,244
|
|
State
|
|
|
1,172
|
|
|
1,644
|
|
|
1,389
|
|
Foreign
|
|
|
4,509
|
|
|
685
|
|
|
535
|
|
|
|
|
9,493
|
|
|
15,060
|
|
|
13,168
|
|
|
|
|
|
|
|
|
|
|
|
|
Deferred:
|
|
|
|
|
|
|
|
|
|
|
Federal
|
|
|
5,992
|
|
|
(9,384)
|
|
|
(3,662)
|
|
State
|
|
|
117
|
|
|
(1,288)
|
|
|
(858)
|
|
Foreign
|
|
|
(525)
|
|
|
164
|
|
|
(120)
|
|
|
|
|
5,584
|
|
|
(10,508)
|
|
|
(4,640)
|
|
|
|
|
|
|
|
|
|
|
|
|
Total
|
|
$
|
15,077
|
|
$
|
4,552
|
|
$
|
8,528
|
|
|
Schedule of net deferred tax assets (liabilities) |
|
|
|
|
|
|
|
|
|
|
At December 31,
|
|
|
|
2016
|
|
2015
|
|
Deferred revenue
|
|
$
|
6,309
|
|
$
|
4,140
|
|
Prepaid expenses and accruals
|
|
|
1,363
|
|
|
544
|
|
Deferred rent and lease incentives
|
|
|
3,940
|
|
|
3,521
|
|
Net operating loss and tax credit carryforwards
|
|
|
100,471
|
|
|
101,762
|
|
Property and equipment and intangible assets
|
|
|
(90,222)
|
|
|
(104,017)
|
|
Stock-based compensation expense
|
|
|
10,641
|
|
|
10,716
|
|
Investment in ERS, LLC
|
|
|
75
|
|
|
—
|
|
Convertible notes
|
|
|
(6,346)
|
|
|
(8,284)
|
|
Other
|
|
|
(2,176)
|
|
|
(2,201)
|
|
Total deferred tax assets
|
|
|
24,055
|
|
|
6,181
|
|
Less valuation allowance
|
|
|
(29,610)
|
|
|
(3,493)
|
|
Net deferred tax assets (liabilities)
|
|
$
|
(5,555)
|
|
$
|
2,688
|
|
|
Summary of expected tax provision |
|
|
|
|
|
|
|
|
|
|
|
|
|
Year Ended December 31,
|
|
|
|
2016
|
|
2015
|
|
2014
|
|
Tax provision, at U.S. federal statutory tax rate
|
|
$
|
(13,767)
|
|
$
|
3,056
|
|
$
|
7,878
|
|
|
|
|
|
|
|
|
|
|
|
|
State income tax, net of federal tax provision
|
|
|
(2,053)
|
|
|
247
|
|
|
648
|
|
Effect of permanent items
|
|
|
1,773
|
|
|
1,899
|
|
|
552
|
|
Effects of return to provision adjustment
|
|
|
(45)
|
|
|
118
|
|
|
(127)
|
|
Change in valuation allowance
|
|
|
26,269
|
|
|
841
|
|
|
(2,085)
|
|
Capital loss write-off due to carryforward period expiration
|
|
|
—
|
|
|
—
|
|
|
2,085
|
|
Effect of change in federal and state income tax rate
|
|
|
279
|
|
|
283
|
|
|
(54)
|
|
Uncertain tax positions
|
|
|
2,024
|
|
|
(859)
|
|
|
138
|
|
Research and development credits
|
|
|
(2,758)
|
|
|
(1,914)
|
|
|
(1,564)
|
|
Federal and state NOL adjustments net of valuation allowance impact
|
|
|
—
|
|
|
—
|
|
|
745
|
|
Other
|
|
|
3,355
|
|
|
881
|
|
|
312
|
|
Income tax provision
|
|
$
|
15,077
|
|
$
|
4,552
|
|
$
|
8,528
|
|
|
Schedule of reconciliation of the beginning and ending amount of unrecognized tax benefit |
|
|
|
|
|
|
|
|
|
|
|
|
|
Year Ended December 31,
|
|
|
|
2016
|
|
2015
|
|
2014
|
|
Unrecognized tax benefits balance at beginning of year
|
|
$
|
14,129
|
|
$
|
2,092
|
|
$
|
2,058
|
|
Additions based on tax positions related to the current year
|
|
|
1,153
|
|
|
576
|
|
|
365
|
|
Additions based on tax positions related to prior years
|
|
|
1,257
|
|
|
—
|
|
|
142
|
|
Additions based on tax positions for acquired entities
|
|
|
—
|
|
|
12,780
|
|
|
—
|
|
Reductions for settlements with taxing authorities
|
|
|
—
|
|
|
(1,120)
|
|
|
(261)
|
|
Reductions for lapses of statute of limitations
|
|
|
(63)
|
|
|
(199)
|
|
|
(212)
|
|
Unrecognized tax benefits balance at end of year
|
|
$
|
16,476
|
|
$
|
14,129
|
|
$
|
2,092
|
|
|