Annual report pursuant to Section 13 and 15(d)

Composition of Certain Financial Statement Captions - Changes in Allowance for Doubtful Accounts, Provision for Inventory Reserve and Tax Valuation (Details)

v3.6.0.2
Composition of Certain Financial Statement Captions - Changes in Allowance for Doubtful Accounts, Provision for Inventory Reserve and Tax Valuation (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Allowance for doubtful accounts    
Allowance for doubtful accounts for inventory reserve and tax valuation    
Beginning balance $ (25,168) $ (1,906)
Charged to expense (83,463) (24,548)
Written-off 68,840 928
Charged to other 3,523 358
Ending balance (36,268) (25,168)
Inventory reserve    
Allowance for doubtful accounts for inventory reserve and tax valuation    
Beginning balance (1,051) (639)
Charged to expense (20) (926)
Written-off 296 435
Charged to other (170) 79
Ending balance (945) (1,051)
Tax valuation allowance    
Allowance for doubtful accounts for inventory reserve and tax valuation    
Beginning balance (42,147) (131,931)
Charged to expense 7,726 0
Written-off 0 0
Charged to other (20,994) 89,784
Ending balance $ (55,415) $ (42,147)