XML 25 R11.htm IDEA: XBRL DOCUMENT v3.6.0.2
Net Loss Per Share
12 Months Ended
Dec. 31, 2016
Earnings Per Share [Abstract]  
Net Loss Per Share
3. Net Loss Per Share

Basic net loss per share is calculated by dividing net loss attributable to common stockholders by the weighted-average number of common shares outstanding during the period, less common stock issued that is subject to repurchase, without consideration for common stock equivalents. Diluted net loss per share is computed by dividing net loss by the weighted-average number of common share equivalents outstanding for the period determined using the treasury-stock method. For purposes of this calculation, preferred stock and warrants for preferred stock, stock options and common stock subject to repurchase are considered to be common stock equivalents and are only included in the calculation of diluted net loss per share when their effect is dilutive.

The following outstanding shares of common stock equivalents were excluded from the calculation of diluted net loss per share attributable to common stockholders for the periods presented because including them would have been antidilutive:

 

     As of December 31,  
     2016      2015      2014  

Options to purchase common stock

     6,543,654        3,522,813        2,138,096  

Common stock subject to repurchase

     —          23,554        103,252  

Convertible preferred stock

     —          —          252,817  

Redeemable convertible preferred stock

     —          —          17,236,784  

Warrants for preferred stock

     —          —          976,492  
  

 

 

    

 

 

    

 

 

 

Total potential dilutive shares

     6,543,654        3,546,367        20,707,441