XML 40 R18.htm IDEA: XBRL DOCUMENT
v3.7.0.1

Net Loss Per Share | 12 Months Ended
--- | ---
Jun. 30, 2017
Earnings Per Share [Abstract] |
Net Loss Per Share | 11. 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, 2017 |  |  | June 30, 2016 |  |  | June 30, 2015 |
Net loss |  | $ | (8,517 | ) |  | $ | (31,884 | ) |  | $ | (71,643 | )
Weighted-average shares used in per share calculation - basic and diluted |  |  | 108,273 |  |  |  | 103,074 |  |  |  | 99,000 |
Net loss per share - basic and diluted |  | $ | (0.08 | ) |  | $ | (0.31 | ) |  | $ | (0.72 | )
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, 2017 |  |  | June 30, 2016 |  |  | June 30, 2015 |
Options to purchase common stock |  |  | — |  |  |  | 6,937 |  |  |  | 7,542 |
Restricted stock units |  |  | 220 |  |  |  | 353 |  |  |  | 133 |
Employee Stock Purchase Plan shares |  |  | — |  |  |  | — |  |  |  | 185 |
Total shares excluded |  |  | 220 |  |  |  | 7,290 |  |  |  | 7,675 |

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://www.xbrl.org/2003/role/presentationRef -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