Quarterly report pursuant to Section 13 or 15(d)

Balance Sheet Components - Summary of Intangible Assets (Details)

v3.10.0.1
Balance Sheet Components - Summary of Intangible Assets (Details) - USD ($)
$ in Thousands
6 Months Ended 12 Months Ended
Jun. 30, 2018
Dec. 31, 2017
Finite Lived Intangible Assets [Line Items]    
Gross carrying amount $ 6,296 $ 6,338
Accumulated amortization 2,203 1,621
Net amount $ 4,093 $ 4,717
Licenses    
Finite Lived Intangible Assets [Line Items]    
Average estimated useful lives (in years) 10 years 10 years
Gross carrying amount $ 185 $ 185
Accumulated amortization 146 137
Net amount $ 39 $ 48
Patents And Websites    
Finite Lived Intangible Assets [Line Items]    
Average estimated useful lives (in years) 5 years 5 years
Gross carrying amount $ 4,173 $ 4,173
Accumulated amortization 1,304 959
Net amount $ 2,869 $ 3,214
Customer Relationships    
Finite Lived Intangible Assets [Line Items]    
Average estimated useful lives (in years) 4 years 4 years
Gross carrying amount $ 1,402 $ 1,437
Accumulated amortization 409 240
Net amount $ 993 $ 1,197
Non-Compete Agreement    
Finite Lived Intangible Assets [Line Items]    
Average estimated useful lives (in years) 2 years 3 months 18 days 3 years
Gross carrying amount $ 233 $ 240
Accumulated amortization 91 52
Net amount 142 188
Commercials    
Finite Lived Intangible Assets [Line Items]    
Gross carrying amount 303 303
Accumulated amortization 253 233
Net amount $ 50 $ 70
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