XML 40 R30.htm IDEA: XBRL DOCUMENT v3.8.0.1
Balance Sheet Components - Property and Equipment, net (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2017
Sep. 30, 2016
Sep. 30, 2017
Sep. 30, 2016
Dec. 31, 2016
Property, Plant and Equipment [Line Items]          
Property and equipment, gross $ 136,850   $ 136,850   $ 126,093
Less: accumulated depreciation (63,789)   (63,789)   (49,132)
Property and equipment, net 73,061   73,061   76,961
Depreciation 5,200 $ 5,100 15,000 $ 14,800  
Equipment and machinery          
Property, Plant and Equipment [Line Items]          
Property and equipment, gross 46,550   46,550   40,721
Computer hardware and software          
Property, Plant and Equipment [Line Items]          
Property and equipment, gross 21,527   21,527   17,420
Furniture and fixtures          
Property, Plant and Equipment [Line Items]          
Property and equipment, gross 2,993   2,993   2,879
Leasehold improvements          
Property, Plant and Equipment [Line Items]          
Property and equipment, gross 30,491   30,491   29,498
Building          
Property, Plant and Equipment [Line Items]          
Property and equipment, gross 35,154   35,154   35,154
Construction-in-process          
Property, Plant and Equipment [Line Items]          
Property and equipment, gross $ 135   $ 135   $ 421