XML 37 R20.htm IDEA: XBRL DOCUMENT
v3.10.0.1

Net income (loss) per share | 12 Months Ended
--- | ---
Dec. 31, 2018
Earnings Per Share [Abstract] |
Net income (loss) per share | Net income (loss) per share The following is a reconciliation of the numerator and denominator in the basic and diluted net income (loss) per common share computations (in thousands, except share and per share data):
| Year ended December 31,
| 2018 |  | 2017 |  | 2016
Numerator: |  |  |  |  |  |  |  |
Net income | $ | 15,525 |  |  | $ | 33,475 |  |  | $ | 5,313 |
Adjustments to numerator: |  |  |  |  |
Dividend paid to preferred stockholders | — |  |  | — |  |  | (66,531 | )
Accretion of convertible preferred stock to maximum redemption value | — |  |  | — |  |  | (436,317 | )
Net income (loss) attributable to common stockholders | $ | 15,525 |  |  | $ | 33,475 |  |  | $ | (497,535 | )
Denominator: |  |  |  |  |
Weighted average common shares outstanding - basic | 46,828,798 |  |  | 45,358,452 |  |  | 12,606,529 |
Dilutive common equivalent shares from equity awards | 2,439,818 |  |  | 4,016,306 |  |  | — |
Weighted average common shares outstanding - diluted | 49,268,616 |  |  | 49,374,758 |  |  | 12,606,529 |
Net income (loss) per share: |  |  |  |  |
Basic | $ | 0.33 |  |  | $ | 0.74 |  |  | $ | (39.47 | )
Diluted | $ | 0.32 |  |  | $ | 0.68 |  |  | $ | (39.47 | )
Weighted average anti-dilutive shares from outstanding equity awards excluded from diluted earnings per share | 3,373,529 |  |  | 1,176,787 |  |  | 7,591,298 |

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 The entire disclosure for earnings per share. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -URI http://asc.fasb.org/topic&trid=2144383 + Details
Name: | us-gaap_EarningsPerShareTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration