Balance Sheet Details- Accrued Price Protection Liability (Details 5) - USD ($) $ in Thousands  | 
3 Months Ended | |
|---|---|---|
Mar. 31, 2018  | 
Mar. 31, 2017  | 
|
| Accrued Price Protection Rebate Activity [Roll Forward] | ||
| Begining Balance | $ 21,571 | $ 15,176 | 
| Charged as a reduction of revenue | 10,744 | 11,698 | 
| Reversal of unclaimed rebates | (2,367) | 0 | 
| Payments | (9,736) | (4,927) | 
| Ending Balance | $ 20,212 | $ 21,947 | 
| X | ||||||||||
- Definition Accrued price protection liability. No definition available. 
  | 
| X | ||||||||||
- Definition Accrued price protection rebate activity No definition available. 
  | 
| X | ||||||||||
- Definition Price protection rebate charges as a reduction of revenue No definition available. 
  | 
| X | ||||||||||
- Definition Price Protection payments No definition available. 
  | 
| X | ||||||||||
- Definition Reversal Of Unclaimed Rebates No definition available. 
  |