Balance Sheet Items - Property and Equipment, Net (Detail) - USD ($)
$ in Thousands
Dec. 31, 2016
Dec. 31, 2015
Property, Plant and Equipment [Line Items]    
Total property and equipment $ 41,892 $ 48,706
Less: accumulated depreciation and amortization (30,956) (40,082)
Property and equipment, net 10,936 8,624
Land and building [Member]    
Property, Plant and Equipment [Line Items]    
Total property and equipment 3,675 1,816
Computer equipment and office furniture [Member]    
Property, Plant and Equipment [Line Items]    
Total property and equipment 7,678 13,401
Computer software [Member]    
Property, Plant and Equipment [Line Items]    
Total property and equipment 1,795 2,405
Internal use software and website development [Member]    
Property, Plant and Equipment [Line Items]    
Total property and equipment 11,207 9,636
Internal use software and website development in progress [Member]    
Property, Plant and Equipment [Line Items]    
Total property and equipment 849 2
Production equipment [Member]    
Property, Plant and Equipment [Line Items]    
Total property and equipment 13,685 18,595
Leasehold improvements [Member]    
Property, Plant and Equipment [Line Items]    
Total property and equipment $ 3,003 $ 2,851