Stock-based compensation (Tables)
6 Months Ended
Dec. 31, 2019
Share-based Payment Arrangement [Abstract]  
Stock option activity
A summary of our stock option activity is as follows (in thousands except per share and contractual life amounts):
 
 

Number of
Shares
 
Weighted
Average
Exercise
Price
 
Weighted
Average
Remaining
Contractual
Life
(years)
 
Aggregate
Intrinsic
Value
Options outstanding as of June 30, 2019
 
3,409

 
$
6.49

 
 
 
 
Granted
 
55

 
4.92

 
 
 
 
Exercised
 
(1,326
)
 
6.29

 
 
 
 
Canceled or expired
 
(175
)
 
5.94

 
 
 
 
Options outstanding as of December 31, 2019
 
1,963

 
$
6.64

 
5.67
 
$
5,250

As of December 31, 2019:
 
 
 
 
 
 
 
 
Options vested and expected to vest
 
1,929

 
$
6.66

 
5.11
 
$
5,213

Options exercisable
 
1,563

 
$
6.96

 
5.06
 
$
4,312


Restricted stock units award activity
A summary of our restricted stock unit, or RSU, activity is as follows (in thousands except contractual life amounts):
 
 
Number of
Shares
 
Weighted
Average
Remaining
Contractual 
Life
(years)
 
Aggregate
Intrinsic 
Value
RSUs outstanding as of June 30, 2019
 
2,637

 
 
 
 
Granted
 
1,310

 
 
 
 
Vested
 
(932
)
 
 
 
 
Canceled
 
(458
)
 
 
 
 
RSUs outstanding as of December 31, 2019
 
2,557

 
1.78
 
$
12,428

As of December 31, 2019:
 
 
 
 
 
 
RSUs expected to vest
 
2,143

 
1.66
 
$
10,413


Summary of shares available for grant activity A summary of our shares available for grant activity is as follows (in thousands):
 
 
Number of
Shares
Shares available for grant as of June 30, 2019
 
4,472

Annual share increase authorized under 2009 Plan
 
1,667

Granted
 
(1,681
)
RSUs withheld for taxes in net share settlements
 
251

Canceled
 
633

Expired under 2009 and 2011 Plans
 
(5,342
)
Shares available under 2009 and 2011 Plans upon termination on November 20, 2019
 
—

Initial shares authorized under 2019 Plan on November 20, 2019
 
5,700

Shares added from 5,800,000 reserved share pool available(1) 
 
92

Granted
 
(244
)
Shares available for grant as of December 31, 2019
 
5,548

(1) Additional shares are available up to a maximum of 5,800,000 shares only to the extent shares subject to grants under the 2009 Plan were outstanding as of November 20, 2019 but later expire or otherwise terminate without having been exercised in full.

Stock-based compensation expense
The following table summarizes the stock-based compensation expense for continuing operations recorded for stock options and RSUs, including performance-based RSUs, issued to employees and nonemployees (in thousands):
 
 
 
Three Months Ended December 31,
 
Six Months Ended
December 31,
 
 
2019
 
2018
 
2019
 
2018
Stock option awards
 
$
226

 
$
416

 
$
534

 
$
833

RSU awards
 
1,252

 
1,459

 
2,696

 
3,090

Total stock-based compensation expense
 
$
1,478

 
$
1,875

 
$
3,230

 
$
3,923


Assumptions used to estimate weighted average fair value of options The weighted average assumptions used to value stock option awards granted and the resulting weighted average grant date fair value per share were as follows:
 
 
Three Months Ended December 31,
 
Six Months Ended
December 31,
 
 
2019
 
2018
 
2019
 
2018
Expected volatility
 
48
%
 
—
%
 
48
%
 
39
%
Expected term (in years)
 
5.65

 
0.00

 
5.65

 
6.87

Risk-free interest rate
 
1.58
%
 
—
%
 
1.58
%
 
2.99
%
Dividend yield
 
—
%
 
—
%
 
—
%
 
—
%
Weighted average grant date fair value per share
 
$
2.27

 
$
—

 
$
2.27

 
$
2.32