Financial Instruments - Fair Value Measured On A Recurring Basis (Detail) - USD ($) $ in Thousands | Jun. 30, 2022 | Dec. 31, 2021 |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Short-term investments | $ 22,138 | $ 71,972 |
Long-term investments | 77,551 | 125,320 |
Assets measured at fair value | 230,618 | 554,322 |
Level 1 | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Assets measured at fair value | 137,250 | 385,938 |
Level 2 | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Assets measured at fair value | 81,575 | 159,763 |
Level 3 | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Assets measured at fair value | 11,793 | 8,621 |
Money market funds | Fair Value, Measurements, Recurring | Cash equivalents: | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Cash equivalents | 119,136 | 343,010 |
Money market funds | Fair Value, Measurements, Recurring | Level 1 | Cash equivalents: | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Cash equivalents | 119,136 | 343,010 |
Money market funds | Fair Value, Measurements, Recurring | Level 2 | Cash equivalents: | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Cash equivalents | 0 | 0 |
Money market funds | Fair Value, Measurements, Recurring | Level 3 | Cash equivalents: | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Cash equivalents | 0 | 0 |
U.S. government treasury bonds | Fair Value, Measurements, Recurring | Short-term investments: | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Short-term investments | 6,490 | 22,251 |
U.S. government treasury bonds | Fair Value, Measurements, Recurring | Long-term investments: | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Long-term investments | 11,624 | 20,677 |
U.S. government treasury bonds | Fair Value, Measurements, Recurring | Level 1 | Short-term investments: | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Short-term investments | 6,490 | 22,251 |
U.S. government treasury bonds | Fair Value, Measurements, Recurring | Level 1 | Long-term investments: | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Long-term investments | 11,624 | 20,677 |
U.S. government treasury bonds | Fair Value, Measurements, Recurring | Level 2 | Short-term investments: | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Short-term investments | 0 | 0 |
U.S. government treasury bonds | Fair Value, Measurements, Recurring | Level 2 | Long-term investments: | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Long-term investments | 0 | 0 |
U.S. government treasury bonds | Fair Value, Measurements, Recurring | Level 3 | Short-term investments: | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Short-term investments | 0 | 0 |
U.S. government treasury bonds | Fair Value, Measurements, Recurring | Level 3 | Long-term investments: | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Long-term investments | 0 | 0 |
Corporate bonds | Fair Value, Measurements, Recurring | Cash equivalents: | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Cash equivalents | | 1,042 |
Corporate bonds | Fair Value, Measurements, Recurring | Short-term investments: | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Short-term investments | 8,488 | 35,065 |
Corporate bonds | Fair Value, Measurements, Recurring | Long-term investments: | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Long-term investments | 59,508 | 79,011 |
Corporate bonds | Fair Value, Measurements, Recurring | Level 1 | Cash equivalents: | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Cash equivalents | | 0 |
Corporate bonds | Fair Value, Measurements, Recurring | Level 1 | Short-term investments: | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Short-term investments | 0 | 0 |
Corporate bonds | Fair Value, Measurements, Recurring | Level 1 | Long-term investments: | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Long-term investments | 0 | 0 |
Corporate bonds | Fair Value, Measurements, Recurring | Level 2 | Cash equivalents: | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Cash equivalents | | 1,042 |
Corporate bonds | Fair Value, Measurements, Recurring | Level 2 | Short-term investments: | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Short-term investments | 8,488 | 35,065 |
Corporate bonds | Fair Value, Measurements, Recurring | Level 2 | Long-term investments: | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Long-term investments | 59,508 | 79,011 |
Corporate bonds | Fair Value, Measurements, Recurring | Level 3 | Cash equivalents: | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Cash equivalents | | 0 |
Corporate bonds | Fair Value, Measurements, Recurring | Level 3 | Short-term investments: | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Short-term investments | 0 | 0 |
Corporate bonds | Fair Value, Measurements, Recurring | Level 3 | Long-term investments: | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Long-term investments | 0 | 0 |
Municipal bonds | Fair Value, Measurements, Recurring | Cash equivalents: | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Cash equivalents | | 516 |
Municipal bonds | Fair Value, Measurements, Recurring | Short-term investments: | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Short-term investments | 4,047 | 3,657 |
Municipal bonds | Fair Value, Measurements, Recurring | Long-term investments: | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Long-term investments | 1,394 | 3,440 |
Municipal bonds | Fair Value, Measurements, Recurring | Level 1 | Cash equivalents: | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Cash equivalents | | 0 |
Municipal bonds | Fair Value, Measurements, Recurring | Level 1 | Short-term investments: | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Short-term investments | 0 | 0 |
Municipal bonds | Fair Value, Measurements, Recurring | Level 1 | Long-term investments: | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Long-term investments | 0 | 0 |
Municipal bonds | Fair Value, Measurements, Recurring | Level 2 | Cash equivalents: | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Cash equivalents | | 516 |
Municipal bonds | Fair Value, Measurements, Recurring | Level 2 | Short-term investments: | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Short-term investments | 4,047 | 3,657 |
Municipal bonds | Fair Value, Measurements, Recurring | Level 2 | Long-term investments: | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Long-term investments | 1,394 | 3,440 |
Municipal bonds | Fair Value, Measurements, Recurring | Level 3 | Cash equivalents: | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Cash equivalents | | 0 |
Municipal bonds | Fair Value, Measurements, Recurring | Level 3 | Short-term investments: | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Short-term investments | 0 | 0 |
Municipal bonds | Fair Value, Measurements, Recurring | Level 3 | Long-term investments: | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Long-term investments | 0 | 0 |
U.S. government agency bonds | Fair Value, Measurements, Recurring | Long-term investments: | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Long-term investments | 1,155 | 1,200 |
U.S. government agency bonds | Fair Value, Measurements, Recurring | Level 1 | Long-term investments: | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Long-term investments | 0 | 0 |
U.S. government agency bonds | Fair Value, Measurements, Recurring | Level 2 | Long-term investments: | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Long-term investments | 1,155 | 1,200 |
U.S. government agency bonds | Fair Value, Measurements, Recurring | Level 3 | Long-term investments: | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Long-term investments | 0 | 0 |
Asset-backed securities | Fair Value, Measurements, Recurring | Short-term investments: | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Short-term investments | 3,113 | 10,999 |
Asset-backed securities | Fair Value, Measurements, Recurring | Long-term investments: | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Long-term investments | 3,870 | 20,992 |
Asset-backed securities | Fair Value, Measurements, Recurring | Level 1 | Short-term investments: | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Short-term investments | 0 | 0 |
Asset-backed securities | Fair Value, Measurements, Recurring | Level 1 | Long-term investments: | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Long-term investments | 0 | 0 |
Asset-backed securities | Fair Value, Measurements, Recurring | Level 2 | Short-term investments: | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Short-term investments | 3,113 | 10,999 |
Asset-backed securities | Fair Value, Measurements, Recurring | Level 2 | Long-term investments: | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Long-term investments | 3,870 | 20,992 |
Asset-backed securities | Fair Value, Measurements, Recurring | Level 3 | Short-term investments: | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Short-term investments | 0 | 0 |
Asset-backed securities | Fair Value, Measurements, Recurring | Level 3 | Long-term investments: | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Long-term investments | 0 | 0 |
Israeli funds | Fair Value, Measurements, Recurring | Prepaid expenses and other current assets: | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Israeli funds | | 3,841 |
Israeli funds | Fair Value, Measurements, Recurring | Level 1 | Prepaid expenses and other current assets: | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Israeli funds | | 0 |
Israeli funds | Fair Value, Measurements, Recurring | Level 2 | Prepaid expenses and other current assets: | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Israeli funds | | 3,841 |
Israeli funds | Fair Value, Measurements, Recurring | Level 3 | Prepaid expenses and other current assets: | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Israeli funds | | 0 |
Investments in privately held companies | Fair Value, Nonrecurring | Other assets: | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Investments in privately held companies | 11,793 | 8,621 |
Investments in privately held companies | Fair Value, Nonrecurring | Level 1 | Other assets: | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Investments in privately held companies | 0 | 0 |
Investments in privately held companies | Fair Value, Nonrecurring | Level 2 | Other assets: | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Investments in privately held companies | 0 | 0 |
Investments in privately held companies | Fair Value, Nonrecurring | Level 3 | Other assets: | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Investments in privately held companies | $ 11,793 | $ 8,621 |