XML 30 R11.htm IDEA: XBRL DOCUMENT v3.3.1.900
Net Loss Per Share
12 Months Ended
Dec. 31, 2015
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,  
     2015      2014      2013  

Options to purchase common stock

     3,522,813         2,138,096         582,152   

Common stock subject to repurchase

     23,554         103,252         —     

Convertible preferred stock

     —           252,817         252,818   

Redeemable convertible preferred stock

     —           17,236,784         5,482,761   

Warrants for preferred stock

     —           976,492         1,002,291   
  

 

 

    

 

 

    

 

 

 

Total potential dilutive shares

     3,546,367         20,707,441         7,320,022