| Balance Sheet Details - Inventory (Details 2) - USD ($) $ in Thousands | Jun. 30, 2016 | Dec. 31, 2015 | 
|---|---|---|
| Balance Sheet Related Disclosures [Abstract] | ||
| Work-in-process | $ 14,276 | $ 15,713 | 
| Finished goods | 11,281 | 16,730 | 
| In-transit | 47 | 0 | 
| Inventory Total | $ 25,604 | $ 32,443 | 
| X | ||||||||||
| 
- References No definition available. 
 | 
| X | ||||||||||
| 
- Definition Amount before valuation and LIFO reserves of completed merchandise or goods expected to be sold within one year or operating cycle, if longer. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
 | 
| X | ||||||||||
| 
- Definition Amount after valuation and LIFO reserves of inventory expected to be sold, or consumed within one year or operating cycle, if longer. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
 | 
| X | ||||||||||
| 
- Definition Amount before valuation and LIFO reserves of merchandise or goods in the production process expected to be completed within one year or operating cycle, if longer. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
 | 
| X | ||||||||||
| 
- Definition Gross amount of merchandise or supplies to which the entity holds the title but does not hold physical possession because the goods are currently being transported. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
 |