Income Taxes | Income Taxes Income (loss) before income taxes was as follows (in thousands): Year Ended December 31, 2020 2019 2018 Domestic $ (28,963) $ (14,298) $ 10,901 Foreign 8,371 7,533 6,637 Income (loss) before income taxes $ (20,592) $ (6,765) $ 17,538 Income tax provision was as follows (in thousands): Year Ended December 31, 2020 2019 2018 Current tax expense (benefit): State $ 21 $ (1) $ 9 Foreign 2,209 3,130 5,032 Current tax expense 2,230 3,129 5,041 Deferred tax expense (benefit): Federal (1,603) 4 — State (60) — — Foreign (227) 2,986 (1,441) Deferred tax expense (benefit) (1,890) 2,990 (1,441) Income tax expense $ 340 $ 6,119 $ 3,600 The income tax provision differs from the amount computed by applying the statutory federal income tax rate of 21% to the loss before income taxes as a result of the following differences (in thousands): Year Ended December 31, 2020 2019 2018 Tax computed at federal statutory rate $ (4,324) $ (1,347) $ 3,683 State tax, net of federal tax benefit (209) (133) 27 Permanent items 477 (1,493) 545 Stock compensation (2,669) (1,241) (497) Foreign dividends and unremitted earnings 726 (352) 159 Foreign rate differential 501 (308) (347) Rate change due to tax reform 1,563 125 2,819 Federal credits (639) (611) (619) Tax contingencies, net of reversals (677) 1,888 2,140 Return to provision (2,242) (379) (323) Other (112) 28 (717) Valuation allowance 7,945 9,942 (3,270) Income tax expense $ 340 $ 6,119 $ 3,600 The income tax expense recorded primarily relates to operations in China and Finland, which have income tax rates of 25% and 20%, respectively. The tax effects of temporary differences that give rise to significant portions of the deferred tax assets and deferred tax liabilities are as follows (in thousands): Year Ended December 31, 2020 2019 2018 Deferred tax assets: Net operating loss carryforwards $ 28,718 $ 23,114 $ 16,407 Research and alternative minimum tax credits 5,583 5,022 4,501 Accrued expenses and other 5,648 3,671 2,806 Lease liabilities 2,547 — — Inventory 5,181 3,456 4,248 Property and equipment — 887 1,334 Total gross deferred tax assets 47,677 36,150 29,296 Less: valuation allowance (43,647) (35,545) (25,603) Total deferred tax assets 4,030 605 3,693 Deferred tax liabilities: Property and equipment (3) — — Intangible assets (1,490) (537) (579) Right-of-use assets (2,468) — — Total deferred tax liabilities (3,961) (537) (579) Net deferred tax assets $ 69 $ 68 $ 3,114 Net deferred tax assets of $0.1 million, $0.1 million, and $3.1 million as of December 31, 2020, 2019 and 2018, respectively, are included in other assets within the consolidated balance sheets. In evaluating its valuation allowance, the Company considers all available positive and negative evidence, including scheduled reversals of deferred tax liabilities, projected future taxable income, tax planning strategies, and recent financial performance. Due to uncertainty with respect to ultimate realizability of deferred tax assets, the Company has provided a valuation allowance against the U.S. and China deferred tax assets. The net change in the total valuation allowance for the years ended December 31, 2020, 2019 and 2018 were increases of $8.1 million and $9.9 million and a decrease of $3.3 million, respectively. At December 31, 2020, the Company has U.S., China and state net operating loss (NOL) carryforwards of $119.1 million, $11.8 million and $16.5 million, respectively. These carryforwards will expire from 2023 to 2040 if not used by the Company to reduce income taxes payable in future periods. The Company has U.S. research and development credit carryforwards of $6.7 million. These carryforwards will begin to expire between 2021 and 2040 if not used by the Company to reduce income taxes payable in future periods. Utilization of NOL carryforwards, credit carryforwards and certain deductions have been subject to annual limitations due to ownership change limitations provided by the Internal Revenue Code of 1986, as amended, (collectively, the IRC) and similar state provisions. Under Sections 382 and 383 of the IRC, substantial changes in the Company's ownership have required the Company to limit the amount of net operating loss and research and development credit carryforwards that were previously available to offset future taxable income. The Company performed a Section 382 analysis in 2018, and has had three "change in ownership" events that limit the utilization of NOL carryforwards. The "change in ownership" events occurred twice in August of 2000 and in January of 2001, and resulted in NOL carryforward limitations of $17 thousand, $52 thousand, and $459 thousand, respectively. Additional limitations on the use of these tax attributes could occur in the event of possible disputes arising in examination from various taxing authorities. The following table presents a reconciliation of the changes in the unrecognized tax benefit (in thousands): Balance at December 31, 2017 $ 2,517 Additions based on tax positions related to the current year 3,398 Additions for tax positions of prior years 92 Reductions for tax positions of prior years (49) Reductions as a result of a lapse of applicable statute of limitations (5) Other (66) Balance at December 31, 2018 $ 5,887 Additions based on tax positions related to the current year 2,925 Additions for tax positions of prior years 2 Reductions as a result of a lapse of applicable statute of limitations (22) Other (52) Balance at December 31, 2019 $ 8,740 Additions based on tax positions related to the current year 132 Additions for tax positions of prior years 4 Reductions for tax positions of prior years (1,285) Reductions as a result of a lapse of applicable statute of limitations (53) Other 321 Balance at December 31, 2020 $ 7,859 At December 31, 2020, the Company has $7.9 million of unrecognized tax benefits (excluding interest and penalties). Of this amount, $3.7 million is recorded in non-current income taxes payable and $4.2 million is recorded as an offset to non-current deferred tax assets on the accompanying consolidated balance sheet. The $4.2 million of unrecognized tax benefits in non-current deferred tax assets is entirely offset by a full valuation allowance in both the U.S. and China. Of the Company's unrecognized tax benefits, $3.7 million, if recognized, would impact the effective tax rate. At December 31, 2019, the Company had recorded $3.5 million of unrecognized tax benefits in non-current income taxes payable and $5.3 million of unrecognized tax benefits recognized as an offset to noncurrent deferred tax assets on the accompanying consolidated balance sheet. The Company does not expect a significant decrease to the total amount of unrecognized tax benefits within the next twelve months. The Company recognizes interest and penalties related to unrecognized tax benefits as a component of income tax expense. The Company has recognized penalties and interest during the years ended December 31, 2020, 2019 and 2018, of $0.5 million, $0.3 million, and $0.4 million, respectively. At December 31, 2020 and 2019, interest and penalties associated with unrecognized tax benefits were $2.1 million and $1.6 million, respectively. At December 31, 2020, the Company's tax years 2017 through 2020, 2016 through 2020, and 2010 through 2020, remain open for examination in the federal, state and foreign jurisdictions, respectively. However, to the extent allowed by law, the taxing authorities may have the right to examine prior periods where net operating losses and credits were generated and carried |