| Note 11 - Commitments (Details Textual) - USD ($) $ in Thousands | Jul. 01, 2018 | Dec. 31, 2017 | 
|---|---|---|
| Purchase Obligation, Due in Next Twelve Months | $ 21,715 | $ 14,394 | 
| X | ||||||||||
| 
- Definition Minimum amount of purchase arrangement maturing in the next fiscal year following the latest fiscal year. Includes, but not limited to, recorded and unrecorded purchase obligations, long-term purchase commitments, and short-term purchase commitments. No definition available. 
 |