Fair Value Measurements (Details) - USD ($) $ in Thousands | Jun. 30, 2016 | Dec. 31, 2015 |
U.S. government agency notes | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents: | | $ 0 |
Recurring basis | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Total financial assets | $ 65,732 | 70,195 |
Recurring basis | Quoted Prices in Active Markets (Level 1) | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Total financial assets | 40,780 | 8,169 |
Recurring basis | Significant Other Observable Inputs (Level 2) | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Total financial assets | 24,952 | 62,026 |
Recurring basis | Unobservable Inputs (Level 3) | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Total financial assets | 0 | 0 |
Recurring basis | U.S. treasury bills | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments: | 18,481 | 41,282 |
Long-term investments: | | 4,590 |
Recurring basis | U.S. treasury bills | Quoted Prices in Active Markets (Level 1) | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments: | 18,481 | 0 |
Long-term investments: | | 0 |
Recurring basis | U.S. treasury bills | Significant Other Observable Inputs (Level 2) | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments: | 0 | 41,282 |
Long-term investments: | | 4,590 |
Recurring basis | U.S. treasury bills | Unobservable Inputs (Level 3) | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments: | 0 | 0 |
Long-term investments: | | 0 |
Recurring basis | U.S. government agency notes | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents: | 1,440 | 4,385 |
Short-term investments: | 6,752 | 11,769 |
Recurring basis | U.S. government agency notes | Quoted Prices in Active Markets (Level 1) | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents: | 0 | 0 |
Short-term investments: | 0 | 0 |
Recurring basis | U.S. government agency notes | Significant Other Observable Inputs (Level 2) | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents: | 1,440 | 4,385 |
Short-term investments: | 6,752 | 11,769 |
Recurring basis | U.S. government agency notes | Unobservable Inputs (Level 3) | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents: | 0 | |
Short-term investments: | 0 | 0 |
Recurring basis | Commercial paper | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents: | 8,947 | |
Short-term investments: | 1,691 | |
Recurring basis | Commercial paper | Quoted Prices in Active Markets (Level 1) | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents: | 0 | |
Short-term investments: | 0 | |
Recurring basis | Commercial paper | Significant Other Observable Inputs (Level 2) | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents: | 8,947 | |
Short-term investments: | 1,691 | |
Recurring basis | Commercial paper | Unobservable Inputs (Level 3) | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents: | 0 | |
Short-term investments: | 0 | |
Recurring basis | U.S. treasury bonds | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments: | 17,184 | |
Recurring basis | U.S. treasury bonds | Quoted Prices in Active Markets (Level 1) | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments: | 17,184 | |
Recurring basis | U.S. treasury bonds | Significant Other Observable Inputs (Level 2) | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments: | 0 | |
Recurring basis | U.S. treasury bonds | Unobservable Inputs (Level 3) | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments: | 0 | |
Recurring basis | Corporate notes | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments: | 1,002 | |
Long-term investments: | 5,120 | |
Recurring basis | Corporate notes | Quoted Prices in Active Markets (Level 1) | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments: | 0 | |
Long-term investments: | 0 | |
Recurring basis | Corporate notes | Significant Other Observable Inputs (Level 2) | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments: | 1,002 | |
Long-term investments: | 5,120 | |
Recurring basis | Corporate notes | Unobservable Inputs (Level 3) | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Short-term investments: | 0 | |
Long-term investments: | 0 | |
Recurring basis | Money market funds | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents: | 5,115 | 8,169 |
Recurring basis | Money market funds | Quoted Prices in Active Markets (Level 1) | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents: | 5,115 | 8,169 |
Recurring basis | Money market funds | Significant Other Observable Inputs (Level 2) | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents: | 0 | 0 |
Recurring basis | Money market funds | Unobservable Inputs (Level 3) | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Cash equivalents: | $ 0 | $ 0 |