XML 24 R8.htm IDEA: XBRL DOCUMENT
v3.7.0.1

Earnings Per Share | 3 Months Ended
--- | ---
Mar. 31, 2017
Earnings Per Share [Abstract] |
Earnings Per Share | Note 3—Earnings Per Share As of March 31, 2017, the Company had two classes of common stock, Class A and Class B. Basic and diluted earnings (loss) per share attributable to common stockholders for Class A and Class B common stock were the same because they were entitled to the same liquidation and dividend rights. 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 | )
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 The entire disclosure for earnings per share. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 45 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=64863997&loc=d3e1278-109256 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=64863997&loc=d3e1252-109256 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 55 -Paragraph 52 -URI http://asc.fasb.org/extlink&oid=65016374&loc=d3e4984-109258 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.21) -URI http://asc.fasb.org/extlink&oid=63488584&loc=d3e20235-122688 + Details
Name: | us-gaap_EarningsPerShareTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration