Investments and Fair Value Measurements Summary of Financial Assets Measured at Fair Value on Recurring Basis (Details) - USD ($) | Mar. 31, 2019 | Dec. 31, 2018 |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Investments | $ 144,540,000 | $ 107,572,000 |
Fair Value, Measurements, Recurring | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Assets, Fair Value Disclosure | 532,254,000 | 552,456,000 |
Fair Value, Measurements, Recurring | Israeli funds | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Other assets | 3,031,000 | 3,047,000 |
Fair Value, Measurements, Recurring | Cash Equivalents | Money market funds | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Cash equivalents | 369,896,000 | 431,081,000 |
Fair Value, Measurements, Recurring | Cash Equivalents | Commercial paper | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Cash equivalents | 7,978,000 | 4,681,000 |
Fair Value, Measurements, Recurring | Cash Equivalents | Corporate bonds | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Cash equivalents | 6,809,000 | 3,880,000 |
Fair Value, Measurements, Recurring | Cash Equivalents | U.S. government treasury bonds | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Cash equivalents | | 2,195,000 |
Fair Value, Measurements, Recurring | Short-term Investments | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Investments | 144,540,000 | 98,460,000 |
Fair Value, Measurements, Recurring | Short-term Investments | Commercial paper | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Investments | 38,234,000 | 17,793,000 |
Fair Value, Measurements, Recurring | Short-term Investments | Corporate bonds | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Investments | 33,246,000 | 45,052,000 |
Fair Value, Measurements, Recurring | Short-term Investments | U.S. government treasury bonds | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Investments | 45,858,000 | 15,291,000 |
Fair Value, Measurements, Recurring | Short-term Investments | U.S. government agency bonds | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Investments | 14,222,000 | 19,904,000 |
Fair Value, Measurements, Recurring | Short-term Investments | Foreign bonds | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Investments | 12,960,000 | |
Fair Value, Measurements, Recurring | Short-term Investments | Certificates of deposit | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Investments | 20,000 | 420,000 |
Fair Value, Measurements, Recurring | Long-term Investments | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Investments | | 9,112,000 |
Fair Value, Measurements, Recurring | Long-term Investments | Corporate bonds | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Investments | | 4,960,000 |
Fair Value, Measurements, Recurring | Long-term Investments | U.S. government treasury bonds | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Investments | | 2,244,000 |
Fair Value, Measurements, Recurring | Long-term Investments | U.S. government agency bonds | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Investments | | 1,407,000 |
Fair Value, Measurements, Recurring | Long-term Investments | Certificates of deposit | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Investments | | 501,000 |
Fair Value, Measurements, Recurring | Level 1 | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Assets, Fair Value Disclosure | 415,754,000 | 450,811,000 |
Fair Value, Measurements, Recurring | Level 1 | Israeli funds | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Other assets | 0 | 0 |
Fair Value, Measurements, Recurring | Level 1 | Cash Equivalents | Money market funds | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Cash equivalents | 369,896,000 | 431,081,000 |
Fair Value, Measurements, Recurring | Level 1 | Cash Equivalents | Commercial paper | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Cash equivalents | 0 | 0 |
Fair Value, Measurements, Recurring | Level 1 | Cash Equivalents | Corporate bonds | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Cash equivalents | 0 | 0 |
Fair Value, Measurements, Recurring | Level 1 | Cash Equivalents | U.S. government treasury bonds | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Cash equivalents | | 2,195,000 |
Fair Value, Measurements, Recurring | Level 1 | Short-term Investments | Commercial paper | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Investments | 0 | 0 |
Fair Value, Measurements, Recurring | Level 1 | Short-term Investments | Corporate bonds | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Investments | 0 | 0 |
Fair Value, Measurements, Recurring | Level 1 | Short-term Investments | U.S. government treasury bonds | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Investments | 45,858,000 | 15,291,000 |
Fair Value, Measurements, Recurring | Level 1 | Short-term Investments | U.S. government agency bonds | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Investments | 0 | 0 |
Fair Value, Measurements, Recurring | Level 1 | Short-term Investments | Foreign bonds | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Investments | 0 | |
Fair Value, Measurements, Recurring | Level 1 | Short-term Investments | Certificates of deposit | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Investments | 0 | 0 |
Fair Value, Measurements, Recurring | Level 1 | Long-term Investments | Corporate bonds | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Investments | | 0 |
Fair Value, Measurements, Recurring | Level 1 | Long-term Investments | U.S. government treasury bonds | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Investments | | 2,244,000 |
Fair Value, Measurements, Recurring | Level 1 | Long-term Investments | U.S. government agency bonds | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Investments | | 0 |
Fair Value, Measurements, Recurring | Level 1 | Long-term Investments | Certificates of deposit | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Investments | | 0 |
Fair Value, Measurements, Recurring | Level 2 | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Assets, Fair Value Disclosure | 116,500,000 | 101,645,000 |
Fair Value, Measurements, Recurring | Level 2 | Israeli funds | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Other assets | 3,031,000 | 3,047,000 |
Fair Value, Measurements, Recurring | Level 2 | Cash Equivalents | Money market funds | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Cash equivalents | 0 | 0 |
Fair Value, Measurements, Recurring | Level 2 | Cash Equivalents | Commercial paper | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Cash equivalents | 7,978,000 | 4,681,000 |
Fair Value, Measurements, Recurring | Level 2 | Cash Equivalents | Corporate bonds | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Cash equivalents | 6,809,000 | 3,880,000 |
Fair Value, Measurements, Recurring | Level 2 | Cash Equivalents | U.S. government treasury bonds | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Cash equivalents | | 0 |
Fair Value, Measurements, Recurring | Level 2 | Short-term Investments | Commercial paper | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Investments | 38,234,000 | 17,793,000 |
Fair Value, Measurements, Recurring | Level 2 | Short-term Investments | Corporate bonds | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Investments | 33,246,000 | 45,052,000 |
Fair Value, Measurements, Recurring | Level 2 | Short-term Investments | U.S. government treasury bonds | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Investments | 0 | 0 |
Fair Value, Measurements, Recurring | Level 2 | Short-term Investments | U.S. government agency bonds | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Investments | 14,222,000 | 19,904,000 |
Fair Value, Measurements, Recurring | Level 2 | Short-term Investments | Foreign bonds | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Investments | 12,960,000 | |
Fair Value, Measurements, Recurring | Level 2 | Short-term Investments | Certificates of deposit | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Investments | $ 20,000 | 420,000 |
Fair Value, Measurements, Recurring | Level 2 | Long-term Investments | Corporate bonds | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Investments | | 4,960,000 |
Fair Value, Measurements, Recurring | Level 2 | Long-term Investments | U.S. government treasury bonds | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Investments | | 0 |
Fair Value, Measurements, Recurring | Level 2 | Long-term Investments | U.S. government agency bonds | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Investments | | 1,407,000 |
Fair Value, Measurements, Recurring | Level 2 | Long-term Investments | Certificates of deposit | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Investments | | $ 501,000 |