| Income Taxes Income Taxes (Tables)
 | 12 Months Ended | 
      
        | Dec. 31, 2014 | 
      
        | Income Tax Disclosure [Abstract] |  | 
      
        | Components of Income (Loss) before Provision (Benefit) for Income Tax, Domestic and Foreign | 
|  |  
|  |  |  |  |  |  |  |  |  |  |  |  |  
|   | Years Ended December 31,  |  
|   | 2014 |   | 2013 |   | 2012 |  
| Domestic | $ | (9,631 | ) |   | $ | (12,770 | ) |   | $ | (11,918 | ) |  
| Foreign | 886 | 
 |   | 439 | 
 |   | (993 | ) |  
| Loss before income taxes | $ | (8,745 | ) |   | $ | (12,331 | ) |   | $ | (12,911 | ) |  | 
      
        | Components of Income Tax Expense (Benefit) | 
|  |  
|  |  |  |  |  |  |  |  |  |  |  |  |  
|   | Years Ended December 31, |  
|   | 2014 |   | 2013 |   | 2012 |  
| Current: |   |   |   |   |   |  
| Federal | $ | — | 
 |   | $ | — | 
 |   | $ | — | 
 |  
| State | 1 | 
 |   | — | 
 |   | — | 
 |  
| Foreign | 577 | 
 |   | 574 | 
 |   | 351 | 
 |  
| Total current | 578 | 
 |   | 574 | 
 |   | 351 | 
 |  
| Deferred: |   |   |   |   |   |  
| Federal | (3,341 | ) |   | (5,217 | ) |   | (4,162 | ) |  
| State | 253 | 
 |   | (1,174 | ) |   | (2,062 | ) |  
| Foreign | 54 | 
 |   | (166 | ) |   | — | 
 |  
| Valuation allowance release due to acquisition | (2,335 | ) |   | — | 
 |   | — | 
 |  
| Change in valuation allowance | 3,087 | 
 |   | 6,385 | 
 |   | 6,214 | 
 |  
| Total deferred | (2,282 | ) |   | (172 | ) |   | (10 | ) |  
| Total income tax provision (benefit) | $ | (1,704 | ) |   | $ | 402 | 
 |   | $ | 341 | 
 |  | 
      
        | Effective Income Tax Rate Reconciliation | 
|  |  
|  |  |  |  |  |  |  |  |  |  |  |  |  
|   | Years Ended December 31, |  
|   | 2014 |   | 2013 |   | 2012 |  
| Benefit at statutory rate | $ | (2,973 | ) |   | $ | (4,191 | ) |   | $ | (4,390 | ) |  
| State income taxes (net of federal benefit) | (391 | ) |   | 1 | 
 |   | (1,247 | ) |  
| Research and development credits | (66 | ) |   | (3,630 | ) |   | (858 | ) |  
| Foreign rate differential | (31 | ) |   | (80 | ) |   | 445 | 
 |  
| Stock compensation | 609 | 
 |   | 460 | 
 |   | 278 | 
 |  
| Foreign deemed dividend | — | 
 |   | 835 | 
 |   | — | 
 |  
| Estimated export compliance fines and penalties | — | 
 |   | — | 
 |   | (255 | ) |  
| Uncertain tax positions | 304 | 
 |   | 266 | 
 |   | 199 | 
 |  
| Permanent and other | 92 | 
 |   | 356 | 
 |   | (45 | ) |  
| Valuation allowance release due to acquisition | (2,335 | ) |   | — | 
 |   | — | 
 |  
| Valuation allowance | 3,087 | 
 |   | 6,385 | 
 |   | 6,214 | 
 |  
| Total provision (benefit) for income taxes | $ | (1,704 | ) |   | $ | 402 | 
 |   | $ | 341 | 
 |  | 
      
        | Components of Deferred Tax Assets | 
|  |  
|  |  |  |  |  |  |  |  |  
|   | December 31, |  
|   | 2014 |   | 2013 |  
| Deferred tax assets: |   |   |   |  
| Net operating loss carryforwards | $ | 9,924 | 
 |   | $ | 8,545 | 
 |  
| Research and development credits | 12,783 | 
 |   | 12,718 | 
 |  
| Accrued expenses and other | 1,044 | 
 |   | 476 | 
 |  
| Accrued compensation | 994 | 
 |   | 1,686 | 
 |  
| Stock-based compensation | 4,516 | 
 |   | 2,732 | 
 |  
| Depreciation and amortization | 250 | 
 |   | 2,637 | 
 |  
|   | 29,511 | 
 |   | 28,794 | 
 |  
| Less valuation allowance | (29,399 | ) |   | (28,628 | ) |  
| Net deferred tax assets | $ | 112 | 
 |   | $ | 166 | 
 |  | 
      
        | Summary of Changes to Unrecognized Tax Benefits | 
|  |  
|  |  |  |  |  
| Balance as of December 31, 2011 | $ | 3,020 | 
 |  
| Additions based on tax positions related to the current year | 725 | 
 |  
| Additions based on tax positions of prior year | 132 | 
 |  
| Decreases based on tax positions of prior year | (127 | ) |  
| Balance as of December 31, 2012 | 3,750 | 
 |  
| Additions based on tax positions related to the current year | 1,689 | 
 |  
| Additions based on tax positions of prior years | 23 | 
 |  
| Balance as of December 31, 2013 | 5,462 | 
 |  
| Additions based on tax positions related to the current year | 3,158 | 
 |  
| Additions based on tax positions of prior years | 2,188 | 
 |  
| Balance as of December 31, 2014 | $ | 10,808 | 
 |  |