Note 4 - Consolidated Financial Statement Details - Consolidated Balance Sheets (Details) - USD ($) $ in Thousands |
12 Months Ended | |||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 29, 2019 |
Dec. 30, 2018 |
Jan. 01, 2018 |
Dec. 31, 2017 |
|||||||||||||||
| Trade accounts receivable | $ 71,113 | $ 72,937 | ||||||||||||||||
| Other receivables | 1,098 | 447 | ||||||||||||||||
| Allowance for doubtful accounts | (2,292) | (398) | ||||||||||||||||
| Accounts receivable—net | 69,919 | 72,986 | ||||||||||||||||
| Opening | 20,405 | 3,734 | ||||||||||||||||
| Contract assets additions | 350,709 | 205,387 | ||||||||||||||||
| Contract assets invoiced | (344,843) | (188,716) | ||||||||||||||||
| Ending | 26,271 | 20,405 | ||||||||||||||||
| Raw materials | 48,067 | 52,102 | ||||||||||||||||
| Work in process | ||||||||||||||||||
| Finished goods (1) | [1] | 418 | ||||||||||||||||
| Parts and other | 586 | 896 | ||||||||||||||||
| Provision for obsolescence (2) | [2] | (827) | (213) | |||||||||||||||
| Inventories | 47,826 | 53,203 | $ 18,949 | $ 22,363 | ||||||||||||||
| Property, plant and equipment | 72,614 | 69,368 | ||||||||||||||||
| Accumulated depreciation, property, plant and equipment | (47,304) | (41,208) | ||||||||||||||||
| Property, plant and equipment—net | 25,310 | 28,160 | ||||||||||||||||
| Intangible assets | 21,000 | 21,000 | ||||||||||||||||
| Intangible assets, accumulated amortization | (8,253) | (1,065) | ||||||||||||||||
| Intangible assets—net | 12,747 | 19,935 | ||||||||||||||||
| Goodwill | 18,165 | 18,165 | ||||||||||||||||
| Payroll | 5,504 | 5,637 | ||||||||||||||||
| Professional services | 612 | 702 | ||||||||||||||||
| Interest | 860 | 381 | ||||||||||||||||
| Rent | 428 | |||||||||||||||||
| Total | 11,164 | 13,040 | ||||||||||||||||
| Rebated Related [Member] | ||||||||||||||||||
| Other accrued liabilities | 236 | |||||||||||||||||
| Customer Related [Member] | ||||||||||||||||||
| Other accrued liabilities | 2,185 | 2,237 | ||||||||||||||||
| Vendor Related [Member] | ||||||||||||||||||
| Other accrued liabilities | 1,742 | 2,048 | ||||||||||||||||
| Other Accrued Liabilities [Member] | ||||||||||||||||||
| Other accrued liabilities | 261 | 1,371 | ||||||||||||||||
| Customer Relationships [Member] | ||||||||||||||||||
| Intangible assets | 12,350 | 12,350 | ||||||||||||||||
| Intangible assets, accumulated amortization | (1,414) | (178) | ||||||||||||||||
| Order or Production Backlog [Member] | ||||||||||||||||||
| Intangible assets | 6,990 | 6,990 | ||||||||||||||||
| Intangible assets, accumulated amortization | (5,333) | (673) | ||||||||||||||||
| Trade Names [Member] | ||||||||||||||||||
| Intangible assets | 1,300 | 1,300 | ||||||||||||||||
| Intangible assets, accumulated amortization | (1,300) | (188) | ||||||||||||||||
| Noncompete Agreements [Member] | ||||||||||||||||||
| Intangible assets | 360 | 360 | ||||||||||||||||
| Intangible assets, accumulated amortization | (206) | (26) | ||||||||||||||||
| Land [Member] | ||||||||||||||||||
| Property, plant and equipment | 1,648 | 1,648 | ||||||||||||||||
| Accumulated depreciation, property, plant and equipment | ||||||||||||||||||
| Building [Member] | ||||||||||||||||||
| Property, plant and equipment | [3] | 18,985 | 18,985 | |||||||||||||||
| Accumulated depreciation, property, plant and equipment | [3] | (10,392) | (9,190) | |||||||||||||||
| Machinery and Equipment [Member] | ||||||||||||||||||
| Property, plant and equipment | [4],[5] | 42,732 | 40,083 | |||||||||||||||
| Accumulated depreciation, property, plant and equipment | [4],[5] | (31,192) | (27,093) | |||||||||||||||
| Furniture and Fixtures [Member] | ||||||||||||||||||
| Property, plant and equipment | [4],[6] | 1,005 | 845 | |||||||||||||||
| Accumulated depreciation, property, plant and equipment | [4],[6] | (546) | (457) | |||||||||||||||
| Computer Equipment [Member] | ||||||||||||||||||
| Property, plant and equipment | [4],[7] | 3,979 | 3,945 | |||||||||||||||
| Accumulated depreciation, property, plant and equipment | [4],[7] | (3,289) | (3,053) | |||||||||||||||
| Leasehold Improvements [Member] | ||||||||||||||||||
| Property, plant and equipment | [4] | 4,265 | 3,863 | |||||||||||||||
| Accumulated depreciation, property, plant and equipment | [4] | (1,885) | (1,415) | |||||||||||||||
| UNITED STATES | ||||||||||||||||||
| Intangible assets—net | 3,824 | 5,980 | ||||||||||||||||
| Goodwill | 5,449 | 5,449 | ||||||||||||||||
| MEXICO | ||||||||||||||||||
| Intangible assets—net | 8,923 | 13,955 | ||||||||||||||||
| Goodwill | $ 12,716 | $ 12,716 | ||||||||||||||||
| ||||||||||||||||||