XML 54 R39.htm IDEA: XBRL DOCUMENT v3.6.0.2
Balance Sheet Components - Property and Equipment, net (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Property, Plant and Equipment [Line Items]      
Property and equipment, gross $ 126,093 $ 110,045  
Less: accumulated depreciation (49,132) (30,339)  
Property and equipment, net 76,961 79,706  
Depreciation 19,400 13,400 $ 10,000
Equipment and machinery      
Property, Plant and Equipment [Line Items]      
Property and equipment, gross 40,721 29,101  
Computer hardware and software      
Property, Plant and Equipment [Line Items]      
Property and equipment, gross 17,420 12,630  
Furniture and fixtures      
Property, Plant and Equipment [Line Items]      
Property and equipment, gross 2,879 2,380  
Leasehold improvements      
Property, Plant and Equipment [Line Items]      
Property and equipment, gross 29,498 24,372  
Building      
Property, Plant and Equipment [Line Items]      
Property and equipment, gross 35,154 35,154  
Construction-in-process      
Property, Plant and Equipment [Line Items]      
Property and equipment, gross $ 421 $ 6,408