Net Loss Per Share Available to Common Stockholders |
12 Months Ended | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 31, 2016 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Earnings Per Share [Abstract] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Net Loss Per Share Available to Common Stockholders | 13. Net Loss Per Share Available to Common Stockholders Basic net loss per share available to common stockholders is calculated by dividing the net loss available to common stockholders by the weighted-average number of shares of common stock outstanding for the period. Net loss available to common stockholders is calculated using the two class method as net loss less the preferred stock dividend for the period less the amount of net loss, if any, allocated to the preferred stock based on weighted preferred stock outstanding during the period relative to total stock outstanding during the period. The weighted-average number of shares of common stock used to calculate the Company’s basic net loss per share available to common stockholders excludes those shares subject to repurchase related to unvested common shares, stock options that were exercised prior to vesting, restricted stock issued and RSUs settled for shares of common stock as these shares are not deemed to be outstanding for accounting purposes until they vest. The diluted net loss per share of common stock is computed by dividing the net loss using the weighted-average number of shares of common stock, excluding common stock subject to repurchase, and, if dilutive, potential shares of common stock outstanding during the period. Potential shares of common stock consist of common stock subject to repurchase, stock options to purchase common stock, restricted common stock issued, RSUs settled for shares of common stock, warrants to purchase convertible preferred stock (using the treasury stock method) and the conversion of the Company’s convertible preferred stock (using the “if converted” method). The following table presents the calculation of basic and diluted net loss per share for the periods presented (in thousands except per share amounts):
The following table presents the potential common shares outstanding that were excluded from the computation of diluted net loss per share available to common stockholders for the periods presented because including them would have been anti-dilutive:
|