Inventories at December 31, 2016 and 2015 consisted of the following:

  
2016
  
2015
 
Raw materials
 
$
20,751
  
$
16,786
 
Work in progress
  
3,225
   
1,807
 
Finished goods
  
33,269
   
27,492
 
Total inventories
 
$
57,245
  
$
46,085