Quarterly report pursuant to Section 13 or 15(d)

Balance Sheet Components - Summary of Intangible Assets (Details)

v3.7.0.1
Balance Sheet Components - Summary of Intangible Assets (Details) - USD ($)
$ in Thousands
6 Months Ended 12 Months Ended
Jun. 30, 2017
Dec. 31, 2016
Finite Lived Intangible Assets [Line Items]    
Gross carrying amount $ 2,943 $ 1,345
Accumulated amortization 1,259 1,104
Net amount $ 1,684 $ 241
Licenses    
Finite Lived Intangible Assets [Line Items]    
Average estimated useful lives (in years) 10 years 10 years
Gross carrying amount $ 185 $ 185
Accumulated amortization 128 118
Net amount $ 57 $ 67
Patents And Websites    
Finite Lived Intangible Assets [Line Items]    
Average estimated useful lives (in years) 5 years 5 years
Gross carrying amount $ 873 $ 873
Accumulated amortization 824 810
Net amount $ 49 63
Customer Relationships    
Finite Lived Intangible Assets [Line Items]    
Average estimated useful lives (in years) 4 years  
Gross carrying amount $ 1,370  
Accumulated amortization 88  
Net amount $ 1,282  
Non-Compete Agreement    
Finite Lived Intangible Assets [Line Items]    
Average estimated useful lives (in years) 3 years  
Gross carrying amount $ 228  
Accumulated amortization 14  
Net amount 214  
Commercials    
Finite Lived Intangible Assets [Line Items]    
Gross carrying amount 287 287
Accumulated amortization 205 176
Net amount $ 82 $ 111
Commercials | Minimum    
Finite Lived Intangible Assets [Line Items]    
Average estimated useful lives (in years) 2 years 2 years
Commercials | Maximum    
Finite Lived Intangible Assets [Line Items]    
Average estimated useful lives (in years) 3 years 3 years