XML 41 R29.htm IDEA: XBRL DOCUMENT v3.8.0.1
Net Income (Loss) per Share (Tables)
3 Months Ended
Mar. 31, 2018
Earnings Per Share [Abstract]  
Schedule of Basic and Diluted Net Income (Loss) per Share
The following table sets forth the calculation of basic and diluted net income (loss) per share attributable to common stockholders during the periods presented:    
 
Three Months Ended March 31,
(in thousands, except per share data)
2018
 
2017
Numerator:
 
 
 
Net income (loss)
$
2,916

 
$
(1,213
)
Participating securities:
 
 
 
Income allocated to participating securities
(2,916
)
 

Net income (loss) attributable to common stockholders

 
(1,213
)
 
 
 
 
Denominator:
 
 
 
Weighted-average common shares outstanding, basic and diluted
3,031

 
2,600

Net income (loss) per share:
 
 
 
Net income (loss) per share attributable to common stockholders, basic and diluted
$
0.00

 
$
(0.47
)
Schedule of Potentially Dilutive Shares Not Included in Calculation of Diluted Shares
The following potentially dilutive shares of convertible preferred stock, preferred stock warrants, and stock options were not included in the calculation of diluted shares above as the effect would have been anti‑dilutive:
 
Three Months Ended March 31,
(in thousands)
2018
 
2017
Convertible preferred stock
24,642

 
19,837

Preferred stock warrants
214

 
214

Stock options to purchase common stock
5,630

 
4,382

Total
30,486

 
24,433