| Balance Sheet Details | 
Balance Sheet Details Cash and cash equivalents and investments consist of the following: 
|  |  
|  |  |  |  |  |  |  |  |  
|   | December 31, 2016 |   | December 31, 2015 |  
|   | (in thousands) |  
| Cash and cash equivalents | $ | 82,896 | 
 |   | $ | 67,956 | 
 |  
| Short-term investments | 47,918 | 
 |   | 43,300 | 
 |  
| Long-term investments | 5,991 | 
 |   | 19,242 | 
 |  
|   | $ | 136,805 | 
 |   | $ | 130,498 | 
 | 
 Inventory consists of the following: 
|  |  
|  |  |  |  |  |  |  |  |  
|   | December 31, 2016 |   | December 31, 2015 |  
|   | (in thousands) |  
| Work-in-process | $ | 13,947 | 
 |   | $ | 15,713 | 
 |  
| Finished goods | 12,636 | 
 |   | 16,730 | 
 |  
|   | $ | 26,583 | 
 |   | $ | 32,443 | 
 | 
 Property and equipment consist of the following: 
|  |  
|  |  |  |  |  |  |  |  |  |  |  
|   | Useful Life (in Years) |   | December 31, 2016 |   | December 31, 2015 |  
|   |   |   | (in thousands) |  
| Furniture and fixtures | 5 |   | $ | 1,983 | 
 |   | $ | 2,458 | 
 |  
| Machinery and equipment | 3 -5 |   | 27,028 | 
 |   | 23,679 | 
 |  
| Masks and production equipment | 2 |   | 9,153 | 
 |   | 8,062 | 
 |  
| Software | 3 |   | 3,625 | 
 |   | 3,017 | 
 |  
| Leasehold improvements | 1 -5 |   | 11,635 | 
 |   | 9,573 | 
 |  
| Construction in progress | N/A |   | 39 | 
 |   | 62 | 
 |  
|   |   |   | 53,463 | 
 |   | 46,851 | 
 |  
| Less accumulated depreciation and amortization |   |   | (32,914 | ) |   | (24,993 | ) |  
|   |   |   | $ | 20,549 | 
 |   | $ | 21,858 | 
 | 
 Deferred revenue and deferred profit consist of the following: 
|  |  
|  |  |  |  |  |  |  |  |  
|   | December 31, 2016 |   | December 31, 2015 |  
|   | (in thousands) |  
| Deferred revenue—rebates | $ | 464 | 
 |   | $ | 118 | 
 |  
| Deferred revenue—distributor transactions | 7,987 | 
 |   | 5,695 | 
 |  
| Deferred cost of net revenue—distributor transactions | (2,460 | ) |   | (1,747 | ) |  
|   | $ | 5,991 | 
 |   | $ | 4,066 | 
 | 
 Accrued price protection liability consists of the following activity: 
|  |  
|  |  |  |  |  |  |  |  |  
|   | Years Ended December 31, |  
|   | 2016 |   | 2015 |  
|   | (in thousands) |  
| Beginning balance | $ | 20,026 | 
 |   | $ | 10,018 | 
 |  
| Additional liability from acquisition | — | 
 |   | 3,486 | 
 |  
| Charged as a reduction of revenue | 43,931 | 
 |   | 39,304 | 
 |  
| Reversal of unclaimed rebates | (1,303 | ) |   | (158 | ) |  
| Payments | (47,478 | ) |   | (32,624 | ) |  
| Ending balance | $ | 15,176 | 
 |   | $ | 20,026 | 
 | 
 Accrued expenses and other current liabilities consist of the following: 
|  |  
|  |  |  |  |  |  |  |  |  
|   | December 31, 2016 |   | December 31, 2015 |  
|   | (in thousands) |  
| Accrued technology license payments | $ | 5,850 | 
 |   | $ | 3,000 | 
 |  
| Accrued professional fees | 1,620 | 
 |   | 1,196 | 
 |  
| Accrued engineering and production costs | 1,232 | 
 |   | 826 | 
 |  
| Accrued restructuring | 536 | 
 |   | 3,416 | 
 |  
| Accrued royalty | 846 | 
 |   | 2,042 | 
 |  
| Accrued leases | 1,560 | 
 |   | — | 
 |  
| Accrued customer credits | 1,207 | 
 |   | 951 | 
 |  
| Other | 3,507 | 
 |   | 3,937 | 
 |  
|   | $ | 16,358 | 
 |   | $ | 15,368 | 
 |  |