Fair value of financial instruments (Details) (USD $) | 6 Months Ended | |
In Thousands, unless otherwise specified | Dec. 31, 2014 | Dec. 31, 2013 | Jun. 30, 2014 |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | | |
Estimated Fair Value | $113,517 | | $123,937 |
Amortization of net premium on short-term investments | 850 | 1,904 | |
Short-term investments | | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | | |
Estimated Fair Value | 113,096 | | 122,315 |
Short-term investments | U.S. agency securities | | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | | |
Estimated Fair Value | 560 | | |
Short-term investments | Asset-backed securities | | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | | |
Estimated Fair Value | 13,293 | | |
Short-term investments | Municipal securities | | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | | |
Estimated Fair Value | 16,885 | | 96,848 |
Short-term investments | Commercial paper | | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | | |
Estimated Fair Value | 2,749 | | 999 |
Short-term investments | Agency bonds | | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | | |
Estimated Fair Value | 10,585 | | |
Short-term investments | Corporate bonds | | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | | |
Estimated Fair Value | 69,024 | | 24,468 |
Cash equivalents | | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | | |
Estimated Fair Value | 421 | | 1,622 |
Cash equivalents | Money market mutual funds | | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | | |
Estimated Fair Value | 421 | | 622 |
Cash equivalents | Commercial paper | | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | | |
Estimated Fair Value | | | 1,000 |
Quoted Prices in Active Markets for Identical Assets (Level 1) | | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | | |
Estimated Fair Value | 981 | | 622 |
Quoted Prices in Active Markets for Identical Assets (Level 1) | Short-term investments | | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | | |
Estimated Fair Value | 560 | | 0 |
Quoted Prices in Active Markets for Identical Assets (Level 1) | Short-term investments | U.S. agency securities | | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | | |
Estimated Fair Value | 560 | | |
Quoted Prices in Active Markets for Identical Assets (Level 1) | Short-term investments | Asset-backed securities | | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | | |
Estimated Fair Value | 0 | | |
Quoted Prices in Active Markets for Identical Assets (Level 1) | Short-term investments | Municipal securities | | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | | |
Estimated Fair Value | 0 | | 0 |
Quoted Prices in Active Markets for Identical Assets (Level 1) | Short-term investments | Commercial paper | | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | | |
Estimated Fair Value | 0 | | 0 |
Quoted Prices in Active Markets for Identical Assets (Level 1) | Short-term investments | Agency bonds | | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | | |
Estimated Fair Value | 0 | | |
Quoted Prices in Active Markets for Identical Assets (Level 1) | Short-term investments | Corporate bonds | | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | | |
Estimated Fair Value | 0 | | 0 |
Quoted Prices in Active Markets for Identical Assets (Level 1) | Cash equivalents | | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | | |
Estimated Fair Value | 421 | | 622 |
Quoted Prices in Active Markets for Identical Assets (Level 1) | Cash equivalents | Money market mutual funds | | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | | |
Estimated Fair Value | 421 | | 622 |
Quoted Prices in Active Markets for Identical Assets (Level 1) | Cash equivalents | Commercial paper | | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | | |
Estimated Fair Value | | | 0 |
Significant Other Observable Inputs (Level 2) | | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | | |
Estimated Fair Value | 112,536 | | 123,315 |
Significant Other Observable Inputs (Level 2) | Short-term investments | | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | | |
Estimated Fair Value | 112,536 | | 122,315 |
Significant Other Observable Inputs (Level 2) | Short-term investments | U.S. agency securities | | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | | |
Estimated Fair Value | 0 | | |
Significant Other Observable Inputs (Level 2) | Short-term investments | Asset-backed securities | | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | | |
Estimated Fair Value | 13,293 | | |
Significant Other Observable Inputs (Level 2) | Short-term investments | Municipal securities | | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | | |
Estimated Fair Value | 16,885 | | 96,848 |
Significant Other Observable Inputs (Level 2) | Short-term investments | Commercial paper | | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | | |
Estimated Fair Value | 2,749 | | 999 |
Significant Other Observable Inputs (Level 2) | Short-term investments | Agency bonds | | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | | |
Estimated Fair Value | 10,585 | | |
Significant Other Observable Inputs (Level 2) | Short-term investments | Corporate bonds | | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | | |
Estimated Fair Value | 69,024 | | 24,468 |
Significant Other Observable Inputs (Level 2) | Cash equivalents | | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | | |
Estimated Fair Value | 0 | | 1,000 |
Significant Other Observable Inputs (Level 2) | Cash equivalents | Money market mutual funds | | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | | |
Estimated Fair Value | 0 | | 0 |
Significant Other Observable Inputs (Level 2) | Cash equivalents | Commercial paper | | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | | |
Estimated Fair Value | | | 1,000 |
Significant Unobservable Inputs (Level 3) | | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | | |
Estimated Fair Value | 0 | | 0 |
Significant Unobservable Inputs (Level 3) | Short-term investments | | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | | |
Estimated Fair Value | 0 | | 0 |
Significant Unobservable Inputs (Level 3) | Short-term investments | U.S. agency securities | | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | | |
Estimated Fair Value | 0 | | |
Significant Unobservable Inputs (Level 3) | Short-term investments | Asset-backed securities | | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | | |
Estimated Fair Value | 0 | | |
Significant Unobservable Inputs (Level 3) | Short-term investments | Municipal securities | | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | | |
Estimated Fair Value | 0 | | 0 |
Significant Unobservable Inputs (Level 3) | Short-term investments | Commercial paper | | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | | |
Estimated Fair Value | 0 | | 0 |
Significant Unobservable Inputs (Level 3) | Short-term investments | Agency bonds | | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | | |
Estimated Fair Value | 0 | | |
Significant Unobservable Inputs (Level 3) | Short-term investments | Corporate bonds | | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | | |
Estimated Fair Value | 0 | | 0 |
Significant Unobservable Inputs (Level 3) | Cash equivalents | | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | | |
Estimated Fair Value | 0 | | 0 |
Significant Unobservable Inputs (Level 3) | Cash equivalents | Money market mutual funds | | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | | |
Estimated Fair Value | 0 | | 0 |
Significant Unobservable Inputs (Level 3) | Cash equivalents | Commercial paper | | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | | |
Estimated Fair Value | | | $0 |