Note 18 - Income Taxes - A Reconciliation of the Provision for Income Taxes (Details) - USD ($) $ in Thousands |
12 Months Ended |
Dec. 31, 2016 |
Dec. 31, 2015 |
Dec. 31, 2014 |
| Federal statutory rates |
35.00%
|
35.00%
|
35.00%
|
| Federal income tax at statutory rates |
$ (657)
|
$ (3,533)
|
$ 11,480
|
| Change in valuation allowance |
9,480
|
3,574
|
1,758
|
| Change in uncertain tax positions |
73
|
(76)
|
(1,741)
|
| State income taxes, net of federal benefit |
2,396
|
1,785
|
1,369
|
| Difference between federal statutory and foreign tax rate |
9,427
|
4,642
|
(353)
|
| Stock compensation |
|
(184)
|
(524)
|
| Meals and entertainment |
96
|
81
|
85
|
| Amortization of deferred consideration |
|
9,444
|
1,574
|
| Transaction costs |
|
(447)
|
1,769
|
| Contingent consideration liability reversal |
|
(854)
|
(5,748)
|
| Nontaxable interest income |
|
(965)
|
(660)
|
| Tax credits |
(947)
|
(456)
|
|
| Legal expense |
522
|
284
|
|
| Depreciation |
|
649
|
|
| Equity in net loss of investee |
624
|
366
|
|
| Asset Impairment |
2,353
|
|
|
| Foreign Exchange |
(7,001)
|
|
|
| Other |
670
|
273
|
(720)
|
| Provision for income taxes |
$ 17,036
|
$ 14,583
|
$ 8,289
|
| Effective income tax rate |
(907.00%)
|
(144.00%)
|
25.00%
|