Income Taxes
12 Months Ended
Dec. 31, 2013
Income Taxes  
Income Taxes

7. Income Taxes

        The domestic and foreign components of net income (loss) before income tax expense consists of the following for the periods shown below (in thousands):

 
  Years Ended December 31,  
 
  2011   2012   2013  

Income (loss) before income taxes:

                   

Domestic

  $ (4,697 ) $ (4,055 ) $ 3,633  

Foreign

    812     473     118  
               
​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​

Total income (loss) before income taxes

  $ (3,885 ) $ (3,582 ) $ 3,751  
               
​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​
​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​
               

        The provision for income taxes consisted of the following components (in thousands):

 
  Years Ended December 31,  
 
  2011   2012   2013  

Current:

                   

Domestic

                   

Federal

  $ —   $ 15   $ 64  

State

    —     57     53  

Foreign

    —     69     147  
               
​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​

Total current tax expense

    —     141     264  
               
​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​

Deferred:

                   

Domestic

                   

Federal

    (1,773 )   (710 )   1,572  

State

    (280 )   (65 )   44  

Foreign

    251     88     (16 )

Valuation allowance

    1,802     687     (1,616 )
               
​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​

Total deferred tax benefit

    —     —     (16 )
               
​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​

Total income tax expense

  $ —   $ 141   $ 248  
               
​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​
​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​
               

        A reconciliation from the U.S. statutory federal income tax rate to the effective income tax rate follows:

 
  Years Ended December 31,  
 
  2011   2012   2013  

Federal income tax rate

    (34.0 )%   (34.0 )%   34.0 %

State taxes, net of federal benefit

    (4.1 )   1.1     1.1  

Stock-based compensation

    9.1     15.0     22.7  

Stock warrant

    —     —     6.4  

Research and development credits

    (16.0 )   —     (18.3 )

Change in valuation allowance

    46.4     17.3     (42.0 )

Other, net

    (1.4 )   4.5     2.7  
               
​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​

Effective income tax rate

    0.0 %   3.9 %   6.6 %
               
​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​
​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​
               

        Deferred tax assets and (liabilities) are comprised of the following (in thousands):

 
  December 31,  
 
  2012   2013  

Deferred Tax Assets:

             

Reserves and accruals

  $ 3,396   $ 2,146  

Inventories

    606     1,059  

Net operating loss carryforwards

    30,165     27,865  

Property, plant and equipment

    1,054     1,327  

Stock-based compensation

    783     1,233  

Research and development credit carryforwards

    3,254     4,091  

Other

    204     163  
           
​ ​ ​ ​ ​ ​ ​ ​

Total deferred tax assets

    39,462     37,884  

Valuation allowance

    (39,462 )   (37,842 )
           
​ ​ ​ ​ ​ ​ ​ ​

Total deferred tax assets

  $ —   $ 42  

Deferred Tax Liabilities:

   
 
   
 
 

Undistributed earnings of foreign subsidiaries

    —   $ (15 )

Property and equipment

    —     (11 )
           
​ ​ ​ ​ ​ ​ ​ ​

Total deferred tax liabilities

  $ —   $ (26 )
           
​ ​ ​ ​ ​ ​ ​ ​

Net deferred tax asset

  $ —   $ 16  
           
​ ​ ​ ​ ​ ​ ​ ​
​ ​ ​ ​ ​ ​ ​ ​
           

        During the year ended December 31, 2012, the Company reversed the valuation allowance for deferred tax assets related to its subsidiary operating in the UK totaling $92,000. This subsidiary had a history of generating income and used its remaining net operating loss carryforwards in the year ended December 31, 2012.

        At December 31, 2012 and 2013, the Company had a full valuation allowance against the deferred tax assets of its domestic operations as it believes it is more likely than not that these benefits will not be realized. Significant judgment is required in making this assessment, and it is very difficult to predict when, if ever, the assessment may conclude that the remaining portion of the deferred tax assets are realizable. The net valuation allowance increased by approximately $0.7 million and decreased by approximately $1.6 million during the years ended December 31, 2012 and 2013, respectively.

        Net operating loss and tax credit carryforwards as of December 31, 2013 are as follows (in thousands):

 
  Amount   Expiration Years

Net operating losses, federal

  $ 77,435   2023 - 2031

Net operating losses, state

    75,640   2018 - 2031

Tax credit carryforwards, federal

    3,158   2023 - 2033

Tax credit carryforwards, state

    1,413   2018 - 2028

Net operating losses, foreign

    21   None

        Approximately $2.7 million of the net operating losses reported above represents unrecorded tax benefits for stock-based compensation, which will be recorded in additional paid in capital when realized. Utilization of the net operating loss carryforwards and credits may be subject to a substantial annual limitation due to the ownership change limitations provided by the Internal Revenue Code of 1986, as amended (the "IRC"), and similar state provisions. The Company has not performed a detailed analysis to determine whether an ownership change under Section 382 of the IRC has occurred or will occur. The effect of an ownership change would be the imposition of an annual limitation on the use of net operating loss carryforwards attributable to periods before the change.

        The following is a reconciliation of the changes in the gross balance of unrecognized tax benefits, excluding interest and penalties (in thousands):

 
  Years Ended December 31,  
 
  2011   2012   2013  

Balance at the beginning of the period

  $ 1,862   $ 2,318   $ 2,318  

Current year additions

    456     —     625  
               
​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​

Balance at the end of the period

  $ 2,318   $ 2,318   $ 2,943  
               
​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​
​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​
               

        The Company does not believe there will be any material changes in its unrecognized tax benefits over the next 12 months. As of December 31, 2013, the amount of unrecognized tax benefits that would, if recognized, impact the Company's effective income tax rate is approximately $2.9 million.

        The Company files income tax returns in the United States, including various state and local jurisdictions. The Company's subsidiaries file income tax returns in the United Kingdom, Hong Kong, China and India. The Company is subject to examination in the United States, the United Kingdom, Hong Kong, China, and India as well as various state jurisdictions. As of December 31, 2013, the Company was not under examination by any tax authorities. Tax years beginning in 2008 are subject to examination by taxing United States tax authorities, although net operating loss and credit carryforwards from all years are subject to examinations and adjustments for at least three years following the year in which the attributes are used. Tax years beginning in 2009 are subject to examination by the taxing authorities in the United Kingdom.

        At December 31, 2013, the Company had undistributed foreign earnings of $0.8 million, which the Company intends to permanently reinvest in the foreign subsidiary. Unrecognized deferred tax liabilities of $0.3 million from temporary differences related to the investment in this foreign subsidiary would have been taxable if the Company repatriated the foreign earnings. The Company anticipates that future overseas earnings will also be reinvested indefinitely. In accordance with the indefinite reversal criteria, the foreign currency gains recorded in other comprehensive income related to foreign currency translation have not been tax effected.