XML 50 R17.htm IDEA: XBRL DOCUMENT
v2.4.1.9

Net Loss Per Share Attributable to Common Stockholders | 3 Months Ended
--- | ---
Apr. 30, 2015
Earnings Per Share [Abstract] |
Net Loss per Share Attributable to Common Stockholders | Note 11. Net Loss per Share Attributable to Common Stockholders We calculate our basic and diluted net loss per share attributable to common stockholders in conformity with the two-class method required for companies with participating securities. We consider all series of our redeemable convertible preferred stock to be participating securities. In the event a dividend is declared or paid on our common stock, holders of redeemable convertible preferred stock are entitled to a proportionate share of such dividend in proportion to the holders of common stock on an as-if converted basis. Under the two-class method, basic net loss per share attributable to common stockholders is calculated by dividing the net loss attributable to common stockholders by the weighted-average number of shares of common stock outstanding for the period, less shares subject to repurchase. Net loss attributable to common stockholders is determined by allocating undistributed earnings between common and redeemable convertible preferred stockholders. The diluted net loss per share attributable to common stockholders is computed by giving effect to all potential dilutive common stock equivalents outstanding for the period. For purposes of this calculation, redeemable convertible preferred stock, options to purchase common stock, restricted stock units, employee stock purchase plan, warrants to purchase redeemable convertible preferred stock, repurchasable shares from early exercised options and unvested restricted stock, and contingently issuable common stock authorized in connection with certain acquisitions are considered common stock equivalents but have been excluded from the calculation of diluted net loss per share attributable to common stockholders as their effect is antidilutive. Under the two-class method, the net loss attributable to common stockholders is not allocated to the convertible redeemable preferred stock as the holders of our convertible redeemable preferred stock do not have a contractual obligation to share in our losses. The rights, including the liquidation and dividend rights, of the holders of our Class A and Class B common stock are identical, except with respect to voting. As the liquidation and dividend rights are identical, the undistributed earnings are allocated on a proportionate basis and the resulting net loss per share attributed to common stockholders will, therefore, be the same for both Class A and Class B common stock on an individual or combined basis. We did not present dilutive net loss per share on an if-converted basis because the impact was not dilutive. The following table sets forth the computation of basic and diluted net loss per share (in thousands, except per share amounts):
|  | Three Months Ended April 30, |
|  | 2015 |  |  | 2014 |
|  | Class A |  |  | Class B |  |  | Class A |  |  | Class B |
Numerator: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Net loss |  | $ | (6,031 | ) |  | $ | (41,252 | ) |  | $ | — |  |  | $ | (38,511 | )
Add: accretion of redeemable convertible preferred stock |  |  | — |  |  |  | — |  |  |  | — |  |  |  | (43 | )
Net loss attributable to common stockholders |  | $ | (6,031 | ) |  | $ | (41,252 | ) |  | $ | — |  |  | $ | (38,554 | )
Denominator: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Weighted-average number of shares outstanding— basic and diluted |  |  | 15,226 |  |  |  | 104,153 |  |  |  | — |  |  |  | 13,734 |
Net loss per share attributable to common stockholders—basic and diluted |  | $ | (0.40 | ) |  | $ | (0.40 | ) |  | $ | — |  |  | $ | (2.81 | )
The following weighted-average outstanding shares of common stock equivalents were excluded from the computation of diluted net loss per share attributable to common stockholders for the periods presented because the impact of including them would have been antidilutive (in thousands):
|  | Three Months Ended April 30, |
|  | 2015 |  |  | 2014 |
Redeemable convertible preferred stock |  |  | — |  |  |  | 76,238 |
Options to purchase common stock |  |  | 17,077 |  |  |  | 18,247 |
Restricted stock units |  |  | 5,663 |  |  |  | 1,070 |
Employee stock purchase plan |  |  | 3,263 |  |  |  | — |
Warrants to purchase redeemable convertible preferred stock |  |  | — |  |  |  | 87 |
Repurchasable shares from early-exercised options and unvested restricted stock |  |  | 651 |  |  |  | 674 |
Contingently issuable common stock |  |  | 161 |  |  |  | — |
|  |  | 26,815 |  |  |  | 96,316 |

X
- 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 50 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257 Reference 2: 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=7655603&loc=d3e1278-109256 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=7655603&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=32703322&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=26872669&loc=d3e20235-122688 + Details
Name: | us-gaap_EarningsPerShareTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration