Fair Value of Financial Instruments (Details 4) (USD $) | Oct. 31, 2014 | Jul. 31, 2014 |
In Thousands, unless otherwise specified |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ' | ' |
Total assets | $599,592 | $619,932 |
Level 1 | ' | ' |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ' | ' |
Total assets | 36,689 | 53,959 |
Level 2 | ' | ' |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ' | ' |
Total assets | 562,903 | 565,973 |
Level 3 | ' | ' |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ' | ' |
Total assets | 0 | 0 |
U.S. agency securities | ' | ' |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ' | ' |
Short-term investments: | 31,085 | 29,062 |
Municipal debt securities | 62,607 | 64,995 |
Total assets | 93,692 | 94,057 |
U.S. agency securities | Level 1 | ' | ' |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ' | ' |
Short-term investments: | 0 | 0 |
Municipal debt securities | 0 | 0 |
U.S. agency securities | Level 2 | ' | ' |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ' | ' |
Short-term investments: | 31,085 | 29,062 |
Municipal debt securities | 62,607 | 64,995 |
U.S. agency securities | Level 3 | ' | ' |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ' | ' |
Short-term investments: | 0 | 0 |
Municipal debt securities | 0 | 0 |
Asset-backed securities | ' | ' |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ' | ' |
Short-term investments: | 13 | 1,361 |
Municipal debt securities | 6,983 | ' |
Total assets | 13 | 1,361 |
Asset-backed securities | Level 1 | ' | ' |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ' | ' |
Short-term investments: | 0 | 0 |
Municipal debt securities | 0 | ' |
Asset-backed securities | Level 2 | ' | ' |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ' | ' |
Short-term investments: | 13 | 1,361 |
Municipal debt securities | 6,983 | ' |
Asset-backed securities | Level 3 | ' | ' |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ' | ' |
Short-term investments: | 0 | 0 |
Municipal debt securities | 0 | ' |
Commercial paper | ' | ' |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ' | ' |
Short-term investments: | 63,758 | 66,159 |
Total assets | 117,167 | 132,452 |
Commercial paper | Level 1 | ' | ' |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ' | ' |
Short-term investments: | 0 | 0 |
Commercial paper | Level 2 | ' | ' |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ' | ' |
Short-term investments: | 63,758 | 66,159 |
Commercial paper | Level 3 | ' | ' |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ' | ' |
Short-term investments: | 0 | 0 |
Corporate bonds | ' | ' |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ' | ' |
Short-term investments: | 257,421 | 172,648 |
Municipal debt securities | 58,433 | 125,005 |
Total assets | 315,854 | 297,653 |
Corporate bonds | Level 1 | ' | ' |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ' | ' |
Short-term investments: | 0 | 0 |
Municipal debt securities | 0 | 0 |
Corporate bonds | Level 2 | ' | ' |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ' | ' |
Short-term investments: | 257,421 | 172,648 |
Municipal debt securities | 58,433 | 125,005 |
Corporate bonds | Level 3 | ' | ' |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ' | ' |
Short-term investments: | 0 | 0 |
Municipal debt securities | 0 | 0 |
U.S. government bonds | ' | ' |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ' | ' |
Short-term investments: | 9,997 | 9,995 |
Municipal debt securities | ' | 7,996 |
Total assets | 16,980 | 17,991 |
U.S. government bonds | Level 1 | ' | ' |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ' | ' |
Short-term investments: | 0 | 0 |
Municipal debt securities | ' | 0 |
U.S. government bonds | Level 2 | ' | ' |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ' | ' |
Short-term investments: | 9,997 | 9,995 |
Municipal debt securities | ' | 7,996 |
U.S. government bonds | Level 3 | ' | ' |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ' | ' |
Short-term investments: | 0 | 0 |
Municipal debt securities | ' | 0 |
Municipal debt securities | ' | ' |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ' | ' |
Short-term investments: | 9,745 | 12,997 |
Total assets | 9,745 | 12,997 |
Municipal debt securities | Level 1 | ' | ' |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ' | ' |
Short-term investments: | 0 | 0 |
Municipal debt securities | Level 2 | ' | ' |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ' | ' |
Short-term investments: | 9,745 | 12,997 |
Municipal debt securities | Level 3 | ' | ' |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ' | ' |
Short-term investments: | 0 | 0 |
Certificate of deposit | ' | ' |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ' | ' |
Short-term investments: | 6,706 | 4,009 |
Municipal debt securities | ' | 2,699 |
Total assets | 6,706 | 6,708 |
Certificate of deposit | Level 1 | ' | ' |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ' | ' |
Short-term investments: | ' | 0 |
Municipal debt securities | ' | 0 |
Certificate of deposit | Level 2 | ' | ' |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ' | ' |
Short-term investments: | 6,706 | 4,009 |
Municipal debt securities | ' | 2,699 |
Certificate of deposit | Level 3 | ' | ' |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ' | ' |
Short-term investments: | ' | 0 |
Municipal debt securities | ' | 0 |
Foreign government bonds | ' | ' |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ' | ' |
Municipal debt securities | 2,746 | 2,754 |
Total assets | 2,746 | 2,754 |
Foreign government bonds | Level 1 | ' | ' |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ' | ' |
Municipal debt securities | 0 | 0 |
Foreign government bonds | Level 2 | ' | ' |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ' | ' |
Municipal debt securities | 2,746 | 2,754 |
Foreign government bonds | Level 3 | ' | ' |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ' | ' |
Municipal debt securities | 0 | 0 |
Commercial paper | ' | ' |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ' | ' |
Cash and cash equivalents: | 53,409 | 66,293 |
Commercial paper | Level 1 | ' | ' |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ' | ' |
Cash and cash equivalents: | 0 | 0 |
Commercial paper | Level 2 | ' | ' |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ' | ' |
Cash and cash equivalents: | 53,409 | 66,293 |
Commercial paper | Level 3 | ' | ' |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ' | ' |
Cash and cash equivalents: | 0 | 0 |
Money market funds | ' | ' |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ' | ' |
Cash and cash equivalents: | 36,689 | 53,959 |
Money market funds | Level 1 | ' | ' |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ' | ' |
Cash and cash equivalents: | 36,689 | 53,959 |
Money market funds | Level 2 | ' | ' |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ' | ' |
Cash and cash equivalents: | 0 | 0 |
Money market funds | Level 3 | ' | ' |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ' | ' |
Cash and cash equivalents: | $0 | $0 |