Year Ended December 31, | |||||||||||
2014 | 2015 | 2016 | |||||||||
Current: | |||||||||||
Federal | $ | 2,716 | $ | 3,235 | $ | 3,520 | |||||
State | 157 | (397 | ) | 306 | |||||||
Foreign | 774 | 723 | 966 | ||||||||
Total | 3,647 | 3,561 | 4,792 | ||||||||
Deferred: | |||||||||||
Federal | 29 | (198 | ) | (70 | ) | ||||||
State | 6 | (43 | ) | 0 | |||||||
Foreign | (43 | ) | (17 | ) | (50 | ) | |||||
Total | (8 | ) | (258 | ) | (120 | ) | |||||
Provision for income taxes | $ | 3,639 | $ | 3,303 | $ | 4,672 |