Net Income Available to Stockholders and Basic Net Income per Share (Details) - USD ($) $ / shares in Units, $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Dec. 31, 2016 |
Dec. 31, 2015 |
Dec. 31, 2014 |
|
| Numerator for earnings per share [Abstract] | |||
| Net income attributable to TSM available to stockholders | $ 17,438 | $ 52,121 | $ 65,660 |
| Denominator for basic earnings per share [Abstract] | |||
| Weighted average of common shares (in shares) | 24,454,435 | 25,674,079 | 27,102,127 |
| Effect of dilutive securities (in shares) | 56,658 | 87,662 | 86,705 |
| Denominator for diluted earnings per share (in shares) | 24,511,093 | 25,761,741 | 27,188,832 |
| Basic net income per share attributable to TSM (in dollars per share) | $ 0.71 | $ 2.03 | $ 2.42 |
| Diluted net income per share attributable to TSM (in dollars per share) | $ 0.71 | $ 2.02 | $ 2.41 |