XML 34 R18.htm IDEA: XBRL DOCUMENT
v3.7.0.1

Earnings Per Share (Tables) | 3 Months Ended
--- | ---
Mar. 31, 2017
Earnings Per Share [Abstract] |
Reconciliations of Numerators and Denominators of Basic and Diluted Earnings (Loss) Per Share Computations | The reconciliations of the numerators and denominators of the basic and diluted earnings (loss) per share computations are as follows (in thousands, except per share amounts):
|  | Three Months Ended March 31, |
|  | 2017 |  |  | 2016 |
Earnings (loss) per share—basic: |  |  |  |  |  |  |  |
Numerator: |  |  |  |  |  |  |  |
Net income (loss) |  | $ | 4,909 |  |  | $ | (1,040 | )
Less: Premium on repurchase of convertible preferred stock |  |  | — |  |  |  | (47,209 | )
Net income (loss) attributable to common stockholders—basic |  | $ | 4,909 |  |  | $ | (48,249 | )
Denominator: |  |  |  |  |  |  |  |
Weighted-average shares outstanding |  |  | 39,167 |  |  |  | 10,848 |
Earnings (loss) per share—basic |  | $ | 0.13 |  |  | $ | (4.45 | )
Earnings (loss) per share—diluted: |  |  |  |  |  |  |  |
Numerator: |  |  |  |  |  |  |  |
Net income (loss) attributable to common stockholders—diluted |  | $ | 4,909 |  |  | $ | (48,249 | )
Denominator: |  |  |  |  |  |  |  |
Weighted-average shares outstanding |  |  | 39,167 |  |  |  | 10,848 |
Options to purchase common stock |  |  | 4,178 |  |  |  | — |
Employee stock purchase plan shares |  |  | 170 |  |  |  | — |
Restricted stock |  |  | 42 |  |  |  | — |
Weighted-average shares outstanding—diluted |  |  | 43,557 |  |  |  | 10,848 |
Earnings (loss) per share—diluted |  | $ | 0.11 |  |  | $ | (4.45 | )
Schedule of anti-dilutive shares excluded from the calculation of diluted earnings (loss) per share | The following table presents the anti-dilutive shares excluded from the calculation of diluted earnings (loss) per share (in thousands):
|  | Ended March 31, |
|  | 2017 |  |  | 2016 |
Anti-dilutive equity awards under stock-based award plans |  |  | 395 |  |  |  | 5,081 |
Common shares issuable upon conversion of convertible preferred stock |  |  | — |  |  |  | 22,079 |
Common shares issuable upon conversion of preferred stock warrants |  |  | — |  |  |  | 461 |
Total shares excluded from earnings (loss) per share—diluted |  |  | 395 |  |  |  | 27,621 |

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 securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) in the future that were not included in the computation of diluted EPS because to do so would increase EPS amounts or decrease loss per share amounts for the period presented, by antidilutive securities. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257 + Details
Name: | us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
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://www.xbrl.org/2003/role/presentationRef -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