| Commitments and Contingencies Commitments and Contingencies (Tables)
 | 6 Months Ended | 
| Jun. 30, 2016 | 
|---|
| Commitments and Contingencies Disclosure [Abstract] |  | 
| Future Minimum Payments Under Operating Leases | 
As of June 30, 2016, future minimum payments under non-cancelable operating leases, other obligations, and inventory purchase obligations are as follows:
 
|  |  
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  
|   | Operating Leases |   | Other Obligations |   | Inventory Purchase Obligations |   | Total |  
|   | (in thousands) |  
| 2016 (six months) | $ | 3,793 | 
 |   | $ | 3,638 | 
 |   | $ | 14,880 | 
 |   | $ | 22,311 | 
 |  
| 2017 | 6,896 | 
 |   | 4,813 | 
 |   | — | 
 |   | 11,709 | 
 |  
| 2018 | 6,144 | 
 |   | 891 | 
 |   | — | 
 |   | 7,035 | 
 |  
| 2019 | 5,829 | 
 |   | — | 
 |   | — | 
 |   | 5,829 | 
 |  
| 2020 | 6,177 | 
 |   | — | 
 |   | — | 
 |   | 6,177 | 
 |  
| Thereafter | 7,666 | 
 |   | — | 
 |   | — | 
 |   | 7,666 | 
 |  
| Total minimum payments | $ | 36,505 | 
 |   | $ | 9,342 | 
 |   | $ | 14,880 | 
 |   | $ | 60,727 | 
 |  | 
| Future Minimum Payments Under Other Obligations | 
As of June 30, 2016, future minimum payments under non-cancelable operating leases, other obligations, and inventory purchase obligations are as follows:
 
|  |  
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  
|   | Operating Leases |   | Other Obligations |   | Inventory Purchase Obligations |   | Total |  
|   | (in thousands) |  
| 2016 (six months) | $ | 3,793 | 
 |   | $ | 3,638 | 
 |   | $ | 14,880 | 
 |   | $ | 22,311 | 
 |  
| 2017 | 6,896 | 
 |   | 4,813 | 
 |   | — | 
 |   | 11,709 | 
 |  
| 2018 | 6,144 | 
 |   | 891 | 
 |   | — | 
 |   | 7,035 | 
 |  
| 2019 | 5,829 | 
 |   | — | 
 |   | — | 
 |   | 5,829 | 
 |  
| 2020 | 6,177 | 
 |   | — | 
 |   | — | 
 |   | 6,177 | 
 |  
| Thereafter | 7,666 | 
 |   | — | 
 |   | — | 
 |   | 7,666 | 
 |  
| Total minimum payments | $ | 36,505 | 
 |   | $ | 9,342 | 
 |   | $ | 14,880 | 
 |   | $ | 60,727 | 
 |  | 
| Future Minimum Payments Under Inventory Purchase Obligations | 
As of June 30, 2016, future minimum payments under non-cancelable operating leases, other obligations, and inventory purchase obligations are as follows:
 
|  |  
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  
|   | Operating Leases |   | Other Obligations |   | Inventory Purchase Obligations |   | Total |  
|   | (in thousands) |  
| 2016 (six months) | $ | 3,793 | 
 |   | $ | 3,638 | 
 |   | $ | 14,880 | 
 |   | $ | 22,311 | 
 |  
| 2017 | 6,896 | 
 |   | 4,813 | 
 |   | — | 
 |   | 11,709 | 
 |  
| 2018 | 6,144 | 
 |   | 891 | 
 |   | — | 
 |   | 7,035 | 
 |  
| 2019 | 5,829 | 
 |   | — | 
 |   | — | 
 |   | 5,829 | 
 |  
| 2020 | 6,177 | 
 |   | — | 
 |   | — | 
 |   | 6,177 | 
 |  
| Thereafter | 7,666 | 
 |   | — | 
 |   | — | 
 |   | 7,666 | 
 |  
| Total minimum payments | $ | 36,505 | 
 |   | $ | 9,342 | 
 |   | $ | 14,880 | 
 |   | $ | 60,727 | 
 |  |