| (In thousands) | 2017 | 2016 | 2015 | |||||||||
| Components of income before income taxes: | ||||||||||||
| United States | $ | 3,080 | $ | 14,004 | $ | 7,697 | ||||||
| Foreign | — | — | (183 | ) | ||||||||
| Income before income taxes | $ | 3,080 | $ | 14,004 | $ | 7,514 | ||||||
| Provision for income taxes: | ||||||||||||
| Current | ||||||||||||
| U.S. federal | $ | 800 | $ | 5,056 | $ | 2,364 | ||||||
| State and local | 59 | 582 | 237 | |||||||||
| Foreign | — | — | (12 | ) | ||||||||
| Total current | 859 | 5,638 | 2,589 | |||||||||
| Deferred | (779 | ) | (1,116 | ) | (226 | ) | ||||||
| Total provision for income taxes | $ | 80 | $ | 4,522 | $ | 2,363 | ||||||
| (In thousands) | 2017 | 2016 | 2015 | |||||||||
| Reconciliation to federal statutory rate: | ||||||||||||
| Federal statutory tax rate | 34.0 | % | 35.0 | % | 34.0 | % | ||||||
| State and local taxes, net of federal benefit | 2.4 | 2.2 | 2.4 | |||||||||
| Impact of foreign operations | — | — | 0.7 | |||||||||
| Federal and state tax credits | (5.3 | ) | (2.6 | ) | (3.7 | ) | ||||||
| Valuation allowance | (18.9 | ) | — | (3.8 | ) | |||||||
| Domestic production activities deduction | (4.1 | ) | (4.2 | ) | (4.0 | ) | ||||||
| Uncertain tax position activity | (5.5 | ) | (0.6 | ) | (1.3 | ) | ||||||
| Other | 0.0 | 2.5 | 2.1 | |||||||||
| Sale of subsidiary | — | — | 5.0 | |||||||||
| Effective tax rate | 2.6 | % | 32.3 | % | 31.4 | % | ||||||
| (In thousands) | 201 7 | 2016 | ||||||
| Uncertain tax positions | $ | 281 | $ | — | ||||
| Reserves against current assets | 584 | 679 | ||||||
| Accrued expenses | 3,357 | 3,690 | ||||||
| Deferred compensation | 925 | 842 | ||||||
| Stock-based compensation | 1,824 | 1,473 | ||||||
| State net operating loss carryover and credits | 1,853 | 1,878 | ||||||
| Long term capital loss carryforward | 3,703 | 4,272 | ||||||
| U.S. Federal net operating loss carryover and credits | 406 | 456 | ||||||
| Deferred income tax asset before valuation reserve | 12,933 | 13,290 | ||||||
| Valuation reserve | (5,556 | ) | (6,150 | ) | ||||
| Deferred income tax asset | 7,377 | 7,140 | ||||||
| Depreciation | (3,515 | ) | (4,270 | ) | ||||
| Goodwill, acquisition costs and intangible assets | (502 | ) | (289 | ) | ||||
| Deferred income tax liability | (4,017 | ) | (4,559 | ) | ||||
| Net deferred income tax asset | $ | 3,360 | $ | 2,581 | ||||
| (in thousands) | 201 7 | 2016 | 2015 | |||||||||
| Balance at beginning of the fiscal year | $ | 648 | $ | 687 | $ | 746 | ||||||
| Decreases — tax positions in prior period | (170 | ) | (161 | ) | (134 | ) | ||||||
| Increases — tax positions in current period | 50 | 122 | 75 | |||||||||
| Increases — tax positions in prior period | 314 | — | — | |||||||||
| Settlements and payments | — | — | — | |||||||||
| Lapse of statute of limitations | — | — | — | |||||||||
| Balance at end of the fiscal year | $ | 842 | $ | 648 | $ | 687 | ||||||