XML 38 R24.htm IDEA: XBRL DOCUMENT v3.7.0.1
Net Income (Loss) Per Share (Tables)
12 Months Ended
Dec. 31, 2016
Earnings Per Share [Abstract]  
Calculation of Basic and Diluted Net Income (Loss) Per Share

The following is the calculation of basic and diluted net income (loss) per share (in thousands, except per share data):

 

     Years Ended December 31,  
     2016      2015      2014  

Net income (loss)

   $ 16,453      $ (37,501    $ (14,646
  

 

 

    

 

 

    

 

 

 

Weighted-average shares used in computing net income (loss) per share — basic

     39,943        38,814        35,709  

Effect of dilutive securities:

        

Warrants to purchase common stock

     2,019                

Options to purchase common stock

     409                

Restricted stock units

     181                

Shares issuable related to the ESPP

     9                
  

 

 

    

 

 

    

 

 

 

Dilutive potential common shares

     2,618                
  

 

 

    

 

 

    

 

 

 

Weighted-average shares used in computing net income (loss) per share — diluted

     42,561        38,814        35,709  
  

 

 

    

 

 

    

 

 

 

Net income (loss) per share — basic

   $ 0.41      $ (0.97    $ (0.41
  

 

 

    

 

 

    

 

 

 

Net income (loss) per share — diluted

   $ 0.39      $ (0.97    $ (0.41
    

 

 

    

 

 

    

 

 

 
Instruments Excluded from the Computation of Diluted Net Income (Loss) Per Share

The following instruments were excluded from the computation of diluted net income (loss) per share for the periods presented because their effect would have been antidilutive (in thousands):

 

     December 31,  
     2016      2015      2014  

Options to purchase common stock

     3,688        4,835        3,298  

Warrants to purchase common stock

            5,641        6,691  

Restricted and Performance stock units

            757        63  

Shares issuable related to the ESPP

            16        15  
  

 

 

    

 

 

    

 

 

 

Total shares

     3,688        11,249        10,067