Consolidated Balance Sheets (Parenthetical) - USD ($) $ in Thousands |
Jun. 30, 2019 |
Jun. 30, 2018 |
|---|---|---|
| Statement of Financial Position [Abstract] | ||
| Allowance for doubtful accounts receivable | $ 203 | $ 453 |
| Preferred stock, par value (in dollars per share) | $ 0.001 | $ 0.001 |
| Preferred stock, shares authorized (in shares) | 50,000,000 | 50,000,000 |
| Preferred stock, shares issued (in shares) | 0 | 0 |
| Common stock, par value (in dollars per share) | $ 0.001 | $ 0.001 |
| Common stock, shares authorized (in shares) | 500,000,000 | 500,000,000 |
| Common stock, shares outstanding (in shares) | 69,472,568 | 74,072,521 |