Note 18 - Income Taxes (Tables)
12 Months Ended
Dec. 31, 2016
Notes Tables  
Schedule of Income before Income Tax, Domestic and Foreign [Table Text Block]
 
 
Year ended December 31,
 
 
 
2016
 
 
2015
 
 
2014
 
US
  $
65,559
    $
43,598
    $
16,944
 
Foreign
   
(67,437
)    
(53,692
)    
15,856
 
Total
  $
(1,878
)   $
(10,094
)   $
32,800
 
Schedule of Components of Income Tax Expense (Benefit) [Table Text Block]
 
 
Year ended December 31,
 
 
 
2016
 
 
2015
 
 
2014
 
Federal:
                       
Current
  $
21,202
    $
15,161
    $
9,534
 
Deferred
   
(6,477
)    
(1,606
)    
(2,792
)
     
14,725
     
13,555
     
6,742
 
State:
                       
Current
  $
4,580
    $
2,644
    $
2,188
 
Deferred
   
(938
)    
(38
)    
(621
)
     
3,642
     
2,606
     
1,567
 
Foreign:
                       
Current
  $
266
    $
523
    $
(616
)
Deferred
   
(1,597
)    
(2,101
)    
596
 
     
(1,331
)    
(1,578
)    
(20
)
                         
Total provision for income taxes
  $
17,036
    $
14,583
    $
8,289
 
Schedule of Effective Income Tax Rate Reconciliation [Table Text Block]
 
 
Year Ended December 31,
 
 
 
2016
 
 
2015
 
 
2014
 
Federal statutory rates
   
35
%    
35
%    
35
%
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
)%    
(144
)%    
25
%
Schedule of Deferred Tax Assets and Liabilities [Table Text Block]
 
 
December 31,
 
 
 
2016
 
 
2015
 
Deferred tax assets:
               
Net operating loss carryforwds
  $
17,742
    $
16,889
 
Tax credit carryforwards
   
399
     
48
 
Accounts receivable allowance
   
1,341
     
355
 
Accrued items and reserves
   
18,669
     
12,955
 
Stock compensation
   
4,224
     
3,226
 
Deferred rent
   
915
     
614
 
Deferred financing costs
   
-
     
127
 
Other
   
180
     
228
 
     
43,470
     
34,442
 
Deferred tax liabilities:
               
Deferred financing costs
   
154
     
-
 
Prepaids
   
2,103
     
1,181
 
Property and equipment depreciation
   
1,238
     
3,697
 
Goodwill and intangibles amortization
   
9,568
     
13,248
 
Equity Investment
   
59,244
     
-
 
Other
   
203
     
273
 
     
72,510
     
18,399
 
Net deferred tax assets
   
(29,040
)    
16,043
 
Less valuation allowance
   
(27,423
)    
(21,513
)
Net deferred tax assets
  $
(56,463
)   $
(5,470
)
Current deferred tax assets, net of valuation allowance of $163 and $0 for 2016 and 2015, respectively
  $
6,825
    $
2,891
 
Net noncurrent deferred tax assets, net of valuation allowance of $27,260 and $21,513 for 2016 and 2015, respectively
   
4,003
     
42
 
Net noncurrent deferred tax liabilities, net of valuation allowance of $0 and $0 for 2016 and 2015, repectively
   
(67,291
)    
(8,403
)
    $
(56,463
)   $
(5,470
)
Summary of Operating Loss Carryforwards [Table Text Block]
2017
  $
-
 
2018
   
13
 
2019
   
-
 
2020
   
-
 
2021
   
207
 
Thereafter
   
116
 
    $
336
 
Schedule of Unrecognized Tax Benefits Roll Forward [Table Text Block]
 
 
December 31,
 
 
 
2016
 
 
2015
 
 
2014
 
Unrecognized tax benefits, beginning of year
  $
271
    $
347
    $
414
 
Balance upon acquisition/disposition
   
764
     
-
     
1,674
 
Increase (decrease) related to prior year positions
   
37
     
(47
)    
14
 
Increase related to current year tax positions
   
139
     
48
     
100
 
Statute of limitations expiration
   
(103
)    
(77
)    
(1,855
)
Unrecognized tax benefits, end of year
  $
1,108
    $
271
    $
347
 
Foreign Tax Authority [Member]  
Notes Tables  
Summary of Operating Loss Carryforwards [Table Text Block]
Australia
  $
32,736
 
Canada
   
782
 
France
   
3,382
 
Poland
   
264
 
Sweden
   
201
 
UK
   
39,666