Net Income (Loss) Per Common Share - Reconciliation of Basic and Diluted Net Income (Loss) Per Common Share (Details) - USD ($) $ / shares in Units, shares in Thousands, $ in Thousands |
3 Months Ended |
12 Months Ended |
Dec. 31, 2016 |
Sep. 30, 2016 |
Jun. 30, 2016 |
Mar. 31, 2016 |
Dec. 31, 2015 |
Sep. 30, 2015 |
Jun. 30, 2015 |
Mar. 31, 2015 |
Dec. 31, 2016 |
Dec. 31, 2015 |
Dec. 31, 2014 |
| Numerator for basic and diluted net income (loss) per common share: |
|
|
|
|
|
|
|
|
|
|
|
| Income (loss) from continuing operations |
|
|
|
|
|
|
|
|
$ (194,366)
|
$ (28,126)
|
$ 48,109
|
| Income (loss) from discontinued operations, net of tax |
$ (132)
|
$ 19,652
|
$ 11,036
|
$ (64,127)
|
$ 18,360
|
$ 18,275
|
$ 207
|
$ 17,932
|
(33,571)
|
54,774
|
67,183
|
| Less: Net income attributable to participating securities |
|
|
|
|
|
|
|
|
0
|
0
|
0
|
| Net income (loss) — used in basic and diluted net income (loss) per common share |
|
|
|
|
|
|
|
|
$ (227,937)
|
$ 26,648
|
$ 115,292
|
| Weighted average common shares outstanding including participating securities (in shares) |
|
|
|
|
|
|
|
|
35,489
|
34,437
|
34,286
|
| Less: Weighted average participating securities outstanding (in shares) |
|
|
|
|
|
|
|
|
(921)
|
(149)
|
0
|
| Weighted average common shares outstanding — used in basic net income (loss) per common share (in shares) |
|
|
|
|
|
|
|
|
34,568
|
34,288
|
34,286
|
| Net dilutive potential common shares issuable: |
|
|
|
|
|
|
|
|
|
|
|
| On exercise of options and vesting of restricted stock units (in shares) |
|
|
|
|
|
|
|
|
|
|
0
|
| Weighted average common shares outstanding — used in diluted net income (loss) per common share (in shares) |
|
|
|
|
|
|
|
|
34,568
|
34,288
|
34,286
|
| Net income (loss) per common share: |
|
|
|
|
|
|
|
|
|
|
|
| Basic (in dollars per share) |
$ (0.77)
|
$ (0.37)
|
$ (2.76)
|
$ (2.70)
|
$ (0.12)
|
$ 0.25
|
$ (0.42)
|
$ 1.06
|
$ (6.59)
|
$ 0.78
|
$ 3.36
|
| Diluted (in dollars per share) |
$ (0.77)
|
$ (0.37)
|
$ (2.76)
|
$ (2.70)
|
$ (0.12)
|
$ 0.25
|
$ (0.42)
|
$ 1.06
|
$ (6.59)
|
$ 0.78
|
$ 3.36
|