Share-Based Incentive Plans - Narrative (Details) - $ / shares | 9 Months Ended | |
Mar. 31, 2018 | Nov. 16, 2016 |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | |
Exercise price of stock options outstanding, low end of range | $ 1.24 | |
Exercise price of stock option outstanding, high end of range | $ 20.91 | |
2014 Plan | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | |
Increase in number of common stock shares available for issuance | | 2,500,000 |
2014 Plan | Stock Option Awards | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | |
Expiration period (in years) | 10 years | |
Shares available for grant | 2,900,000 | |
2014 Plan | Stock Option Awards | Minimum | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | |
Vesting period (in years) | 1 year | |
2014 Plan | Stock Option Awards | Maximum | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | |
Vesting period (in years) | 4 years | |
2014 Plan | Performance-Based Restricted Stock Awards and Stock Options | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | |
Unvested restricted stock awards and stock options outstanding | 1,562,867 | |
2004 Plan | Stock Option Awards | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | |
Expiration period (in years) | 10 years | |
2004 Plan | Stock Option Awards | Minimum | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | |
Vesting period (in years) | 1 year | |
2004 Plan | Stock Option Awards | Maximum | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | |
Vesting period (in years) | 5 years | |
2008 Plan | Stock Option Awards | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | |
Expiration period (in years) | 10 years | |
2008 Plan | Stock Option Awards | Minimum | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | |
Vesting period (in years) | 1 year | |
2008 Plan | Stock Option Awards | Maximum | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | |
Vesting period (in years) | 4 years | |
2008 and 2014 Plan | Restricted Stock Awards | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | |
Awards outstanding | 1,510,757 | |
Weighted average grant date fair value of awards granted | $ 4.01 | |
2008 and 2014 Plan | Restricted Stock Awards | Minimum | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | |
Vesting period (in years) | 1 year | |
2008 and 2014 Plan | Restricted Stock Awards | Maximum | | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | | |
Vesting period (in years) | 4 years | |