XML 38 R23.htm IDEA: XBRL DOCUMENT
v3.19.2

Net Loss Per Share | 12 Months Ended
--- | ---
Jun. 30, 2019
Earnings Per Share [Abstract] |
Net Loss Per Share | 16. Net Loss Per Share Basic earnings per share is calculated by dividing net income by the weighted average number of common shares outstanding during the period, less shares subject to repurchase, and excludes any dilutive effects of options, warrants and unvested restricted stock. Dilutive earnings per share is calculated by dividing net income by the weighted average number of common shares used in the basic earnings per share calculation plus the dilutive effect of shares subject to options, warrants and unvested restricted stock. The following table presents the calculation of basic and diluted net loss per share (in thousands, except per share data):
|  |  |  |  |  | Year Ended |  |  |  |  |
|  | June 30, 2019 |  |  | June 30, 2018 |  |  | June 30, 2017 |
Net loss |  | $ | (25,853 | ) |  | $ | (46,792 | ) |  | $ | (1,744 | )
Weighted-average shares used in per share calculation - basic and diluted |  |  | 117,954 |  |  |  | 114,221 |  |  |  | 108,273 |
Net loss per share - basic and diluted |  | $ | (0.22 | ) |  | $ | (0.40 | ) |  | $ | (0.02 | )
Potentially dilutive common shares from employee incentive plans are determined by applying the treasury stock method to the assumed exercise of outstanding stock options, the assumed vesting of outstanding restricted stock units, and the assumed issuance of common stock under the ESPP. Weighted stock options outstanding with an exercise price higher than the Company's average stock price for the periods presented are excluded from the calculation of diluted net loss per share since the effect of including them would have been anti-dilutive due to the net loss position of the Company during the periods presented. The following securities were excluded from the computation of outstanding diluted earnings per common share because they would have been anti-dilutive (in thousands):
|  |  |  |  |  | Year Ended |  |  |  |  |
|  | June 30, 2019 |  |  | June 30, 2018 |  |  | June 30, 2017 |
Options to purchase common stock |  |  | 2,693 |  |  |  | 2,547 |  |  |  | — |
Restricted stock units |  |  | 8,337 |  |  |  | 7,822 |  |  |  | 220 |
Employee Stock Purchase Plan shares |  |  | 612 |  |  |  | 1,294 |  |  |  | — |
Total shares excluded |  |  | 11,642 |  |  |  | 11,663 |  |  |  | 220 |

X
- References No definition available. + Details
Name: | us-gaap_EarningsPerShareAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The entire disclosure for earnings per share. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -URI http://asc.fasb.org/topic&trid=2144383 + Details
Name: | us-gaap_EarningsPerShareTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration