XML 28 R9.htm IDEA: XBRL DOCUMENT v3.19.2
Net income (loss) per share
12 Months Ended
Jun. 30, 2019
Earnings Per Share [Abstract]  
Net income (loss) per share
Net income (loss) per share
Basic net income (loss) per share is calculated by dividing net income (loss) by the weighted average number of common shares outstanding for the period. Diluted net income (loss) per share is computed by dividing net income (loss) by the weighted average number of common shares outstanding for the period, including potential dilutive common shares assuming the dilutive effect of outstanding stock options and restricted stock units using the treasury-stock method.
The following table presents the calculation of basic and diluted net loss per share (in thousands, except per share amounts):
 
 
 
Fiscal Year Ended June 30,
 
 
2019
 
2018
 
2017
Net loss
 
$
(32,488
)
 
$
(40,834
)
 
$
(29,536
)
Weighted average common shares used in computing net loss per share, basic and diluted
 
45,577

 
44,498

 
43,343

Net loss per share, basic and diluted
 
$
(0.71
)
 
$
(0.92
)
 
$
(0.68
)


The following outstanding shares subject to options and restricted stock units were excluded from the computation of diluted net loss per share for the periods presented because including them would have had an antidilutive effect (in thousands):

 
 
Fiscal Year Ended June 30,
 
 
2019
 
2018
 
2017
Stock options
 
3,409

 
5,116

 
5,708

Restricted stock units
 
2,637

 
3,068

 
3,005

Total
 
6,046

 
8,184

 
8,713