Stock Options and Restricted Stock Awards | . Stock-Based Compensation On November 15, 2017, the Company’s stockholders approved the 2017 Equity Incentive Plan (the “2017 Plan”) for the purpose of granting equity awards to employees, directors, and consultants. The 2017 Plan replaced the 2014 Equity Incentive Plan (the “2014 Plan”), and no further equity awards may be granted under the 2014 Plan or the 2007 Equity Incentive Plan (the “2007 Plan”) (the 2017 Plan, 2014 Plan and the 2007 Plan are collectively referred to as the “Plans”). The 2017 Plan allows for the granting of up to 3,607,523 shares of common stock as approved by the Board of Directors or committees thereof in the form of nonqualified or incentive stock options, restricted stock awards, restricted stock unit awards, performance share awards, performance unit awards or stock appreciation rights to officers, directors, consultants and employees of the Company. As of June 30, 2019 , there were 2,085,025 shares available for grant under the 2017 Plan. Equity awards classified as restricted stock and performance-based restricted stock are treated as issued shares when granted; however, these shares are not included in the computation of basic weighted average shares outstanding. When shares vest, unless the holder elects to pay the payroll tax liability in cash or through a sale of shares, the Company withholds the appropriate amount of shares to settle the payroll tax liability, on behalf of the individual receiving the shares, as an adjustment to accumulated deficit. Stock Options All options granted under the Plans become exercisable over periods established at the date of grant. The option exercise price is generally not less than the estimated fair market value of the Company’s common stock at the date of grant, as determined by the Company’s management and Board of Directors. In addition, the Company has granted nonqualified stock options to a director outside of the Plans. Stock option activity is as follows: Number of Options Weighted Average Exercise Price Options outstanding at June 30, 2016 606,879 $ 10.14 Exercised (519,297 ) $ 10.33 Forfeited or expired (9,381 ) $ 8.83 Options outstanding at June 30, 2017 78,201 $ 9.07 Exercised (55,880 ) $ 9.20 Options outstanding at June 30, 2018 22,321 $ 8.75 Exercised (22,321 ) $ 8.75 Options outstanding at June 30, 2019 — $ — As of June 30, 2019 , no options are outstanding. The Company determined the fair value of options using the Black-Scholes option pricing model. The estimated fair value of options, including the effect of estimated forfeitures, was recognized as expense on a straight-line basis over the options’ vesting periods. There were no options granted during the years ended June 30, 2019 , 2018 or 2017 . The aggregate intrinsic value of a stock option award is the amount by which the market value of the underlying stock exceeds the exercise price of the award. The aggregate intrinsic value for vested and outstanding options at June 30, 2019 , 2018 and 2017 , was $0 , $527 and $1,811 , respectively. The total aggregate intrinsic value of options exercised during the years ended June 30, 2019 , 2018 and 2017 , was $553 , $1,095 , and $7,955 , respectively. Shares supporting option exercises are sourced from new share issuances. Restricted Stock The fair value of each restricted stock award was equal to the fair market value of the Company’s common stock at the date of grant. Vesting of time based restricted stock awards ranges from one year to three years . The estimated fair value of restricted stock awards, including the effect of estimated forfeitures, is recognized on a straight-line basis over the restricted stock’s vesting period. Restricted stock award activity is as follows: Number of Shares Weighted Average Grant Date Fair Value Outstanding at June 30, 2016 647,573 $ 23.24 Granted 258,346 $ 21.80 Forfeited (103,140 ) $ 22.11 Vested (316,195 ) $ 24.21 Outstanding at June 30, 2017 486,584 $ 21.26 Granted 290,856 $ 27.93 Forfeited (68,499 ) $ 22.76 Vested (253,725 ) $ 22.87 Outstanding at June 30, 2018 455,216 $ 24.77 Granted 262,727 $ 35.53 Forfeited (27,143 ) $ 29.05 Vested (215,855 ) $ 23.23 Outstanding at June 30, 2019 474,945 $ 31.36 Estimated pre-vesting forfeitures are considered in determining stock-based compensation expense. As of June 30, 2019 , 2018 and 2017 , the Company estimated its weighted average forfeiture rate at 18.0% , 15.2% and 17.1% , respectively. As of June 30, 2019 , there was approximately $11,016 of total unrecognized compensation expense, net of the effect of estimated forfeitures, related to nonvested restricted stock awards, which is expected to be recognized over a weighted-average period of 1.6 years . Performance-Based Restricted Stock The Company also grants performance-based restricted stock awards to certain executives and other management. Fiscal 2019 awards vest based on the Company’s total shareholder return relative to total shareholder return of the peer group (a market condition), as measured by the closing prices of the stock of the Company and its peer group for the 90 trading days preceding July 1, 2018 compared to the closing prices for the 90 trading days preceding July 1, 2021. Fiscal 2018 awards vest based on the Company’s total shareholder return relative to total shareholder return of the peer group (a market condition), as measured by the closing prices of the stock of the Company and its peer group for the 90 trading days preceding July 1, 2017 compared to the closing prices for the 90 trading days preceding July 1, 2020. Fiscal 2017 awards vest based on the Company’s total shareholder return relative to total shareholder return of the peer group (a market condition), as measured by the closing prices of the stock of the Company and its peer group for the 90 trading days preceding July 1, 2016 compared to the closing prices for the 90 trading days preceding July 1, 2019. The aggregate maximum shares granted were as follows: Performance Measurement 2019 2018 2017 Total shareholder return 225,325 278,889 336,826 Performance-based restricted stock award activity is as follows: Number of Weighted Average Outstanding at June 30, 2016 310,111 $ 16.67 Granted 336,826 $ 11.97 Forfeited (328,353 ) $ 16.41 Outstanding at June 30, 2017 318,584 $ 11.97 Granted 278,889 $ 13.63 Forfeited (66,295 ) $ 13.17 Outstanding at June 30, 2018 531,178 $ 12.69 Granted 225,325 $ 22.33 Forfeited (2,631 ) $ 18.64 Outstanding at June 30, 2019 753,872 $ 15.20 Estimated pre-vesting forfeitures are considered in determining stock-based compensation expense. As of June 30, 2019 , there was approximately $4,078 of total unrecognized compensation expense related to nonvested performance-based restricted stock awards, which is expected to be recognized over a weighted-average period of 1.8 years . Stock-based compensation expense associated with performance-based restricted stock was $3,497 for the year ended June 30, 2019 . Restricted Stock Units The Company grants restricted stock units to members of its Board of Directors. Restricted stock units represent the right to receive payment in the form of shares of the Company’s common stock or in cash at the Company’s option. Restricted stock unit payments occur within 30 days following the six month anniversary of the date that the director ceases to serve on the Board of Directors or, if the restricted stock units are granted in lieu of an annual cash retainer, on the payment date selected by the director that is at least two years after the grant date. The estimated fair value of restricted stock units is recognized on a straight-line basis over the vesting period. Restricted stock unit activity is as follows: Number of Shares Weighted Average Grant Date Fair Value Restricted stock units outstanding at June 30, 2016 304,816 $ 13.95 Granted 54,064 $ 21.21 Converted to common stock (6,476 ) $ 29.34 Forfeited (2,974 ) $ 21.01 Restricted stock units outstanding at June 30, 2017 349,430 $ 14.73 Granted 28,364 $ 31.02 Converted to common stock (41,925 ) $ 16.07 Restricted stock units outstanding at June 30, 2018 335,869 $ 15.94 Granted 21,162 $ 38.28 Converted to common stock (2,855 ) $ 21.01 Restricted stock units outstanding at June 30, 2019 354,176 $ 17.23 Employee Stock Purchase Plan The Company maintains an employee stock purchase plan that was approved by the Company’s stockholders in November 2015 (“2015 ESPP”) and replaced the previous employee stock purchase plan that expired on May 31, 2016. The 2015 ESPP provides eligible employees the opportunity to acquire common stock in accordance with Section 423 of the Internal Revenue Code of 1986. Stock can be purchased each 6 month period per year (twice per year). The purchase price is equal to 85% of the lower of the price at the beginning or the end of the respective period. Employees purchased 155,394 shares at an average price of $24.14 per share during the year ended June 30, 2019 . Shares reserved under the 2015 ESPP at June 30, 2019 totaled 1,530,037 . Stock-Based Compensation Expense The following amounts were recognized as stock-based compensation expense in the consolidated statements of operations: Year Ended June 30, 2019 Restricted Stock Awards Restricted Stock Units Employee Stock Purchase Plan Total Cost of goods sold $ 281 $ — $ 65 $ 346 Selling, general and administrative 7,899 810 905 9,614 Research and development 1,136 — 170 1,306 Total stock-based compensation expense $ 9,316 $ 810 $ 1,140 $ 11,266 Year Ended June 30, 2018 Restricted Stock Awards Restricted Stock Units Employee Stock Purchase Plan Total Cost of goods sold $ 207 $ — $ 68 $ 275 Selling, general and administrative 7,462 750 848 9,060 Research and development 817 — 150 967 Total stock-based compensation expense $ 8,486 $ 750 $ 1,066 $ 10,302 Year Ended June 30, 2017 Restricted Stock Awards Restricted Stock Units Employee Stock Purchase Plan Total Cost of goods sold $ 588 $ — $ 101 $ 689 Selling, general and administrative 6,568 1,024 1,065 8,657 Research and development 879 — 129 1,008 Total stock-based compensation expense $ 8,035 $ 1,024 $ 1,295 $ 10,354 |