XML 64 R35.htm IDEA: XBRL DOCUMENT
v3.19.1

Earnings Per Share (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2017
Earnings Per Share [Abstract] |
Schedule of Basic and Diluted Earnings (Loss) Per Share | The computations of basic and diluted EPS were as follows:
(in thousands, except per share basis) |  | For the Year Ended December 31,
|  | 2017 |  | 2016 |  | 2015 (Restated) |  | 2014 (Restated)
Numerator: |  |  |  |  |  |  |  |
Net (loss) income |  | $ | (47,612 | ) |  | $ | (47,472 | ) |  | $ | (2,891 | ) |  | $ | 21,477 |
Less: Deemed dividend on Series B convertible preferred stock |  | (37,860 | ) |  | — |  |  | — |  |  | — |
Net (loss) income available to common stockholders - basic |  | (85,472 | ) |  | (47,472 | ) |  | (2,891 | ) |  | 21,477 |
Exclude (gain) loss from change in fair value of warrants |  | — |  |  | (1,413 | ) |  | (9,300 | ) |  | (6,170 | )
Net (loss) income available to common stockholders - diluted |  | $ | (85,472 | ) |  | $ | (48,885 | ) |  | $ | (12,191 | ) |  | $ | 15,307 |
Denominator: |  |  |  |  |  |  |  |
Shares used in computing net (loss) income per share: |  |  |  |  |  |  |  |
Weighted-average basic shares outstanding |  | 13,787 |  |  | 10,931 |  |  | 10,808 |  |  | 10,705 |
Effect of dilutive securities |  | — |  |  | — |  |  | 183 |  |  | 426 |
Weighted-average common shares outstanding — diluted |  | 13,787 |  |  | 10,931 |  |  | 10,991 |  |  | 11,131 |
(Loss) earnings per common share: |  |  |  |  |  |  |  |
(Loss) earnings per share — basic |  | $ | (6.20 | ) |  | $ | (4.34 | ) |  | $ | (0.27 | ) |  | $ | 2.01 |
(Loss) earnings per share — diluted |  | $ | (6.20 | ) |  | $ | (4.47 | ) |  | $ | (1.11 | ) |  | $ | 1.38 |

X
- References No definition available. + Details
Name: | us-gaap_EarningsPerShareAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of an entity's basic and diluted earnings per share calculations, including a reconciliation of numerators and denominators of the basic and diluted per-share computations for income from continuing operations. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257 + Details
Name: | us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration