XML 45 R28.htm IDEA: XBRL DOCUMENT v3.19.2
Balance Sheet Components - Summary of Property and Equipment, Net (Details) - USD ($)
$ in Thousands
Jun. 30, 2019
Dec. 31, 2018
Property Plant And Equipment [Line Items]    
Property and equipment, gross $ 34,242 $ 29,579
Less: accumulated depreciation (4,828) (3,251)
Property and equipment, net 29,414 26,328
Furniture and Equipment    
Property Plant And Equipment [Line Items]    
Property and equipment, gross 2,642 2,221
Computer Equipment    
Property Plant And Equipment [Line Items]    
Property and equipment, gross 2,603 2,073
Manufacturing Equipment    
Property Plant And Equipment [Line Items]    
Property and equipment, gross 6,473 1,733
Leased Equipment    
Property Plant And Equipment [Line Items]    
Property and equipment, gross 100 100
Leasehold improvements    
Property Plant And Equipment [Line Items]    
Property and equipment, gross 14,506 4,469
Buildings    
Property Plant And Equipment [Line Items]    
Property and equipment, gross   688
Construction in Progress    
Property Plant And Equipment [Line Items]    
Property and equipment, gross $ 7,918 $ 18,295