Annual report pursuant to Section 13 and 15(d)

Balance Sheet Details - Property and Equipment (Detail)

v3.8.0.1
Balance Sheet Details - Property and Equipment (Detail) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
Property, Plant and Equipment [Line Items]      
Depreciation $ 12,000 $ 10,600 $ 10,800
Property and equipment, Gross 66,711 53,463  
Less accumulated depreciation and amortization (44,053) (32,914)  
Property and equipment, net $ 22,658 20,549  
Furniture and fixtures [Member]      
Property, Plant and Equipment [Line Items]      
Useful life 5 years    
Property and equipment, Gross $ 2,105 1,983  
Machinery and equipment [Member]      
Property, Plant and Equipment [Line Items]      
Property and equipment, Gross $ 33,462 27,028  
Machinery and equipment [Member] | Minimum [Member]      
Property, Plant and Equipment [Line Items]      
Useful life 3 years    
Machinery and equipment [Member] | Maximum [Member]      
Property, Plant and Equipment [Line Items]      
Useful life 5 years    
Masks and production equipment [Member]      
Property, Plant and Equipment [Line Items]      
Useful life 2 years    
Property and equipment, Gross $ 11,470 9,153  
Software [Member]      
Property, Plant and Equipment [Line Items]      
Useful life 3 years    
Property and equipment, Gross $ 4,695 3,625  
Leasehold improvements [Member]      
Property, Plant and Equipment [Line Items]      
Property and equipment, Gross $ 14,340 11,635  
Leasehold improvements [Member] | Minimum [Member]      
Property, Plant and Equipment [Line Items]      
Useful life 1 year    
Leasehold improvements [Member] | Maximum [Member]      
Property, Plant and Equipment [Line Items]      
Useful life 5 years    
Construction in progress [Member]      
Property, Plant and Equipment [Line Items]      
Property and equipment, Gross $ 639 $ 39