| Balance Sheet Details | 
Balance Sheet Details Cash, cash equivalents and restricted cash consist of the following: 
|  |  
|  |  |  |  |  |  |  |  |  
|   | March 31, 2019 |   | December 31, 2018 |  
|   | (in thousands) |  
| Cash and cash equivalents | $ | 71,102 | 
 |   | $ | 73,142 | 
 |  
| Short-term restricted cash | 347 | 
 |   | 645 | 
 |  
| Long-term restricted cash | 418 | 
 |   | 404 | 
 |  
| Total cash, cash equivalents and restricted cash | $ | 71,867 | 
 |   | $ | 74,191 | 
 | 
 
As of March 31, 2019 and December 31, 2018, cash and cash equivalents included $20.0 million and $0 of money market funds, respectively. As of March 31, 2019 and December 31, 2018, the Company has restricted cash of $0.8 million and $1.0 million, respectively. The cash is restricted in connection with guarantees for certain import duties and office leases. 
 Inventory consists of the following: 
|  |  
|  |  |  |  |  |  |  |  |  
|   | March 31, 2019 |   | December 31, 2018 |  
|   | (in thousands) |  
| Work-in-process | $ | 15,365 | 
 |   | $ | 17,618 | 
 |  
| Finished goods | 27,388 | 
 |   | 24,120 | 
 |  
|   | $ | 42,753 | 
 |   | $ | 41,738 | 
 | 
 Property and equipment, net consists of the following: 
|  |  
|  |  |  |  |  |  |  |  |  |  |  
|   | Useful Life(in Years)
 |   | March 31, 2019 |   | December 31, 2018 |  
|   |   |   | (in thousands) |  
| Furniture and fixtures | 5 |   | $ | 2,183 | 
 |   | $ | 2,020 | 
 |  
| Machinery and equipment |  3-5 |   | 34,710 | 
 |   | 34,225 | 
 |  
| Masks and production equipment | 2-5 |   | 12,645 | 
 |   | 12,645 | 
 |  
| Software | 3 |   | 5,677 | 
 |   | 5,675 | 
 |  
| Leasehold improvements | 1-5 |   | 16,199 | 
 |   | 17,493 | 
 |  
| Construction in progress | N/A |   | 360 | 
 |   | 133 | 
 |  
|   |   |   | 71,774 | 
 |   | 72,191 | 
 |  
| Less accumulated depreciation and amortization |   |   | (54,787 | ) |   | (53,787 | ) |  
|   |   |   | $ | 16,987 | 
 |   | $ | 18,404 | 
 | 
 
 
Depreciation expense for the three months ended March 31, 2019 and 2018 was $2.1 million  and $3.1 million,  respectively. 
 
 Accrued price protection liability consists of the following activity: 
|  |  
|  |  |  |  |  |  |  |  |  
|   | Three Months Ended March 31, |  
|   | 2019 |   | 2018 |  
|   | (in thousands) |  
| Beginning balance | $ | 16,454 | 
 |   | $ | 21,571 | 
 |  
| Charged as a reduction of revenue | 10,508 | 
 |   | 10,744 | 
 |  
| Reversal of unclaimed rebates | — | 
 |   | (2,367 | ) |  
| Payments | (8,019 | ) |   | (9,736 | ) |  
| Ending balance | $ | 18,943 | 
 |   | $ | 20,212 | 
 | 
 Accrued expenses and other current liabilities consist of the following: 
|  |  
|  |  |  |  |  |  |  |  |  
|   | March 31, 2019 |   | December 31, 2018 |  
|   | (in thousands) |  
| Accrued technology license payments | $ | 4,500 | 
 |   | $ | 4,500 | 
 |  
| Accrued professional fees | 1,428 | 
 |   | 1,270 | 
 |  
| Accrued engineering and production costs | 2,590 | 
 |   | 646 | 
 |  
| Accrued restructuring | 1,410 | 
 |   | 1,946 | 
 |  
| Accrued royalty | 923 | 
 |   | 980 | 
 |  
| Short-term lease liabilities | 8,033 | 
 |   | 1,214 | 
 |  
| Accrued customer credits | 556 | 
 |   | 1,204 | 
 |  
| Income tax liability | 3,846 | 
 |   | 1,642 | 
 |  
| Customer contract liabilities | 71 | 
 |   | 71 | 
 |  
| Accrued obligations to customers for price adjustments | 7,317 | 
 |   | 7,558 | 
 |  
| Accrued obligations to customers for stock rotation rights | 1,980 | 
 |   | 1,494 | 
 |  
| Other | 53 | 
 |   | 995 | 
 |  
|   | $ | 32,707 | 
 |   | $ | 23,520 | 
 | 
 
The following table summarizes the change in balances of accumulated other comprehensive income (loss) by component:
|  |  
|  |  |  |  |  |  |  |  |  |  |  |  |  
|   | Cumulative Translation Adjustments |   | Interest Rate Hedge |   | Total |  
|   | (in thousands) |  
| Balance at December 31, 2018 | $ | (907 | ) |   | $ | 1,179 | 
 |   | $ | 272 | 
 |  
| Current period other comprehensive income (loss) | 513 | 
 |   | (488 | ) |   | 25 | 
 |  
| Balance at March 31, 2019 | $ | (394 | ) |   | $ | 691 | 
 |   | $ | 297 | 
 |  |