Goodwill and Intangible assets (Details) - USD ($)
3 Months Ended 6 Months Ended
Jun. 30, 2015
Jun. 30, 2014
Jun. 30, 2015
Jun. 30, 2014
Dec. 31, 2014
Preliminary allocation of consideration          
Goodwill $ 2,742,000   $ 2,742,000   $ 231,000
Intangible assets          
Gross Carrying Amount 7,472,000   7,472,000   2,650,000
Accumulated Amortization (1,969,000)   (1,969,000)   (1,241,000)
Intangible assets, net 5,503,000   $ 5,503,000   1,409,000
Weighted average amortization period     4 years 9 months 18 days    
Amortization expense          
Amortization of intangible assets 403,000 $ 98,000 $ 728,000 $ 196,000  
Amortization of finite-lived intangible assets          
2015 773,000   773,000    
2016 1,381,000   1,381,000    
2017 1,200,000   1,200,000    
2018 1,106,000   1,106,000    
2019 963,000   963,000    
2020 80,000   80,000    
Intangible assets, net 5,503,000   5,503,000   1,409,000
Nexus          
Preliminary allocation of consideration          
Cash 121,000   121,000    
Inventory 2,346,000   2,346,000    
Other assets acquired 1,247,000   1,247,000    
Intangible assets 5,030,000   5,030,000    
Goodwill 2,618,000   2,618,000    
Total assets acquired 11,362,000   11,362,000    
Accounts payable 2,273,000   2,273,000    
Other liabilities assumed 589,000   589,000    
Net assets acquired 8,500,000   8,500,000    
Escrow Deposit 750,000   750,000    
Total Consideration     8,500,000    
Acquisition related costs associated with Nexus     600,000    
Developed technology          
Intangible assets          
Gross Carrying Amount 7,061,000   7,061,000   2,597,000
Accumulated Amortization (1,907,000)   (1,907,000)   (1,214,000)
Intangible assets, net 5,154,000   $ 5,154,000   1,383,000
Weighted average amortization period     4 years 9 months 18 days    
Amortization of finite-lived intangible assets          
Intangible assets, net 5,154,000   $ 5,154,000   1,383,000
Customer Relationships          
Intangible assets          
Gross Carrying Amount 358,000   358,000    
Accumulated Amortization (30,000)   (30,000)    
Intangible assets, net 328,000   $ 328,000    
Weighted average amortization period     5 years    
Amortization of finite-lived intangible assets          
Intangible assets, net 328,000   $ 328,000    
Non-competition agreement          
Intangible assets          
Gross Carrying Amount 53,000   53,000   53,000
Accumulated Amortization (32,000)   (32,000)   (27,000)
Intangible assets, net 21,000   $ 21,000   26,000
Weighted average amortization period     2 years    
Amortization of finite-lived intangible assets          
Intangible assets, net $ 21,000   $ 21,000   $ 26,000