Net Income (Loss) Per Share
9 Months Ended
Sep. 30, 2018
Earnings Per Share [Abstract]  
Net Income (Loss) Per Share
Net Income (Loss) Per Share
The following table summarizes the computation of basic and diluted net loss per share for the periods presented:
 
 
 
 
 
 
 
 
 
Three Months Ended September 30,
 
Nine Months Ended September 30,
 
2018
 
2017
 
2018
 
2017
 
 
 
 
 
 
 
 
 
(in thousands, except share and per share data)
Numerator:
 
 
 
 
 
 
 
Net income (loss)
$
1,306

 
$
(10,674
)
 
$
(10,584
)
 
$
(27,764
)
Denominator:


 
 
 


 
 
Weighted average common shares used for basic earnings per share
19,152,995

 
8,824,807

 
16,146,675

 
8,824,807

Weighted average common shares used for diluted earnings per share
20,123,297

 
8,824,807

 
16,146,675

 
8,824,807

 
 
 
 
 
 
 
 
Earnings (loss) per share:
 
 
 
 
 
 
 
Basic
$
0.07

 
$
(1.21
)
 
$
(0.66
)
 
$
(3.15
)
Diluted
$
0.06

 
$
(1.21
)
 
$
(0.66
)
 
$
(3.15
)
 
 
 
 
 
 
 
 

Basic net income/(loss) per share is computed by dividing the net income/(loss) by the weighted-average number of shares outstanding for the period. Diluted net income/(loss) per share is computed by dividing the net income/(loss) by the weighted-average number of shares and dilutive share equivalents outstanding for the period, determined using the treasury-share method and the as-if converted method, for convertible securities, if inclusion of these is dilutive.
If the Company reports a net loss, diluted net loss per share is the same as basic net loss per share for those periods because including the dilutive securities would be anti-dilutive.
The following potentially dilutive securities outstanding at the end of the periods presented have been excluded from the computation of diluted shares:
 
 
 
 
 
 
 
Nine Months Ended September 30,
 
 
2018
 
2017
Options to purchase common shares
 
1,460,863

 
786,503

Shares issuable on vesting of restricted stock awards
 
394,984

 
617,767

Warrants to purchase common shares
 
113,526

 
145,000

Total
 
1,969,373

 
1,549,270