XML 24 R10.htm IDEA: XBRL DOCUMENT v3.8.0.1
Net Loss Per Share
12 Months Ended
Dec. 31, 2017
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, 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,  
     2017      2016      2015  

Options to purchase common stock

     7,470,601        6,543,654        3,522,813  

Common stock subject to repurchase

     —          —          23,554  
  

 

 

    

 

 

    

 

 

 

Total potential dilutive shares

     7,470,601        6,543,654        3,546,367