Fair Value Measurements - Schedule of Fair Value of Financial Instruments (Detail) - USD ($) $ in Thousands | Mar. 31, 2016 | Dec. 31, 2015 |
Level 1 | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Total assets measured at fair value | $ 173,939 | $ 145,747 |
Total liabilities measured at fair value | 0 | 0 |
Level 1 | Money market funds | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Total assets measured at fair value | 16,310 | 145,747 |
Level 1 | U.S. treasury securities | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Total assets measured at fair value | 157,629 | |
Level 1 | U.S. government agency obligations | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Total assets measured at fair value | 0 | 0 |
Level 1 | Derivative liability associated with the Medicis settlement | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Total liabilities measured at fair value | 0 | 0 |
Level 2 | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Total assets measured at fair value | 38,186 | 52,439 |
Total liabilities measured at fair value | 0 | 0 |
Level 2 | Money market funds | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Total assets measured at fair value | $ 0 | 0 |
Level 2 | U.S. treasury securities | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Total assets measured at fair value | | |
Level 2 | U.S. government agency obligations | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Total assets measured at fair value | $ 38,186 | 52,439 |
Level 2 | Derivative liability associated with the Medicis settlement | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Total liabilities measured at fair value | 0 | 0 |
Level 3 | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Total assets measured at fair value | 0 | 0 |
Total liabilities measured at fair value | 1,428 | 1,414 |
Level 3 | Money market funds | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Total assets measured at fair value | 0 | 0 |
Level 3 | U.S. treasury securities | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Total assets measured at fair value | 0 | |
Level 3 | U.S. government agency obligations | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Total assets measured at fair value | 0 | 0 |
Level 3 | Derivative liability associated with the Medicis settlement | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Total liabilities measured at fair value | 1,428 | 1,414 |
Recurring | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Total assets measured at fair value | 212,125 | 198,186 |
Total liabilities measured at fair value | 1,428 | 1,414 |
Recurring | Money market funds | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Total assets measured at fair value | 16,310 | 145,747 |
Recurring | U.S. treasury securities | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Total assets measured at fair value | 157,629 | |
Recurring | U.S. government agency obligations | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Total assets measured at fair value | 38,186 | 52,439 |
Recurring | Derivative liability associated with the Medicis settlement | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items] | | |
Total liabilities measured at fair value | $ 1,428 | $ 1,414 |