Strategic Alliances and Collaborations - Additional Information (Detail) $ / shares in Units, $ in Thousands | 1 Months Ended | 3 Months Ended | 6 Months Ended | | |
May. 31, 2015USD ($) | Mar. 31, 2015USD ($) | Jan. 31, 2015USD ($) | Oct. 31, 2014USD ($) | Aug. 31, 2014USD ($) | Feb. 28, 2014USD ($)$ / sharesshares | Jul. 31, 2013USD ($) | Jun. 30, 2013USD ($) | Oct. 31, 2012USD ($)$ / sharesshares | Aug. 31, 2012USD ($) | Jun. 30, 2015USD ($)shares | Jun. 30, 2015USD ($)Agreementshares | Dec. 31, 2014USD ($)shares | Nov. 30, 2013USD ($) |
Collaborative Arrangements and Non-collaborative Arrangement Transactions [Line Items] | | | | | | | | | | | | | | |
Common stock value | | | | | | | | | | | $ 52 | $ 52 | $ 49 | |
Common stock, shares issued | shares | | | | | | | | | | | 51,533,416 | 51,533,416 | 48,944,530 | |
Sanofi | | | | | | | | | | | | | | |
Collaborative Arrangements and Non-collaborative Arrangement Transactions [Line Items] | | | | | | | | | | | | | | |
Deferred revenue | | | | | | $ 400 | | | | | | | | |
Deferred revenue remaining recognition period | | | | | | | | | | | | 5 years | | |
Sanofi | Private Placement | | | | | | | | | | | | | | |
Collaborative Arrangements and Non-collaborative Arrangement Transactions [Line Items] | | | | | | | | | | | | | | |
Common stock value | | | | | | $ 10,000 | | | | | | | | |
Common stock, shares issued | shares | | | | | | 1,303,780 | | | | | | | | |
Price per share | $ / shares | | | | | | $ 7.67 | | | | | | | | |
Restriction period in which Alliances could not sell, transfer, make any short sale of, or grant any option for the sale of any common stock | | | | | | 12 months | | | | | | | | |
Sanofi | Development Commercialization And License Agreement | | | | | | | | | | | | | | |
Collaborative Arrangements and Non-collaborative Arrangement Transactions [Line Items] | | | | | | | | | | | | | | |
Initial upfront option payment | | | | | | $ 2,500 | $ 2,500 | | | | | | | |
Upfront payment creditable against future accounts receivables | | | | | | $ 1,250 | $ 1,250 | | | | | | | |
Upfront payment non-creditable portion recognized | | | | | | | | | | | | $ 1,250 | | |
Sanofi | Research and development | | | | | | | | | | | | | | |
Collaborative Arrangements and Non-collaborative Arrangement Transactions [Line Items] | | | | | | | | | | | | | | |
Initial upfront option payment | | | | | | | | $ 25,000 | | | | | | |
Deferred revenue | | | | | | | | | | | $ 10,100 | $ 10,100 | | |
Sanofi | Minimum | United States | | | | | | | | | | | | | | |
Collaborative Arrangements and Non-collaborative Arrangement Transactions [Line Items] | | | | | | | | | | | | | | |
Royalties based on percentage of net sales | | | | | | | | | | | | 10.00% | | |
Sanofi | Minimum | Outside of the United States | | | | | | | | | | | | | | |
Collaborative Arrangements and Non-collaborative Arrangement Transactions [Line Items] | | | | | | | | | | | | | | |
Royalties based on percentage of net sales | | | | | | | | | | | | 10.00% | | |
Sanofi | Maximum | United States | | | | | | | | | | | | | | |
Collaborative Arrangements and Non-collaborative Arrangement Transactions [Line Items] | | | | | | | | | | | | | | |
Royalties based on percentage of net sales | | | | | | | | | | | | 20.00% | | |
Sanofi | Maximum | Outside of the United States | | | | | | | | | | | | | | |
Collaborative Arrangements and Non-collaborative Arrangement Transactions [Line Items] | | | | | | | | | | | | | | |
Royalties based on percentage of net sales | | | | | | | | | | | | 20.00% | | |
Sanofi | Proof-of-Concept Trial | | | | | | | | | | | | | | |
Collaborative Arrangements and Non-collaborative Arrangement Transactions [Line Items] | | | | | | | | | | | | | | |
Revenue through milestone payments | | | | | | | | | | | 101,800 | $ 101,800 | | |
Sanofi | Clinical | | | | | | | | | | | | | | |
Collaborative Arrangements and Non-collaborative Arrangement Transactions [Line Items] | | | | | | | | | | | | | | |
Revenue through milestone payments | | | | | | | | | | | 15,000 | 15,000 | | |
Sanofi | Regulatory and Commercialization Milestones | | | | | | | | | | | | | | |
Collaborative Arrangements and Non-collaborative Arrangement Transactions [Line Items] | | | | | | | | | | | | | | |
Revenue through milestone payments | | | | | | | | | | | 300,000 | 300,000 | | |
Sanofi | Common Stock Purchase Agreement | | | | | | | | | | | | | | |
Collaborative Arrangements and Non-collaborative Arrangement Transactions [Line Items] | | | | | | | | | | | | | | |
Deferred revenue | | | | | | | | | | | 300 | $ 300 | | |
Astra Zeneca | | | | | | | | | | | | | | |
Collaborative Arrangements and Non-collaborative Arrangement Transactions [Line Items] | | | | | | | | | | | | | | |
Number of collaborative areas granted | Agreement | | | | | | | | | | | | 3 | | |
Collaboration and license agreement date | | | | | | | | | | | | 2012-08 | | |
Initial upfront option payment | | | | | | | | | | | | $ 3,000 | | |
Expected term of research and development plan | | | | | | | | | 4 years | | | | | |
Revenue through milestone payments | | | | | | | | | | | 495,500 | 495,500 | | |
Deferred revenue | | | | | | | | | $ 4,300 | | 2,000 | 2,000 | | |
Common stock value | | | | | | | | | | | 25,000 | $ 25,000 | | |
Common stock, shares issued | shares | | | | | | | | | 6,250,000 | | | | | |
Price per share | $ / shares | | | | | | | | | $ 4 | | | | | |
Restriction period in which Alliances could not sell, transfer, make any short sale of, or grant any option for the sale of any common stock | | | | | | | | | 365 days | | | | | |
Restricting common stock valuation measurement period | | | | | | | | | 1 year | | | | | |
Deferred revenue remaining recognition period | | | | | | | | | | | | 1 year | | |
Astra Zeneca | Minimum | | | | | | | | | | | | | | |
Collaborative Arrangements and Non-collaborative Arrangement Transactions [Line Items] | | | | | | | | | | | | | | |
Royalties based on percentage of net sales | | | | | | | | | | | | 10.00% | | |
Astra Zeneca | Maximum | | | | | | | | | | | | | | |
Collaborative Arrangements and Non-collaborative Arrangement Transactions [Line Items] | | | | | | | | | | | | | | |
Royalties based on percentage of net sales | | | | | | | | | | | | 20.00% | | |
Astra Zeneca | Clinical | | | | | | | | | | | | | | |
Collaborative Arrangements and Non-collaborative Arrangement Transactions [Line Items] | | | | | | | | | | | | | | |
Revenue through milestone payments | | | | | | | | | | | 123,000 | $ 123,000 | | |
Astra Zeneca | Preclinical | | | | | | | | | | | | | | |
Collaborative Arrangements and Non-collaborative Arrangement Transactions [Line Items] | | | | | | | | | | | | | | |
Revenue through milestone payments | | | | | | | | | | | 2,500 | 2,500 | | |
Milestone payments, earned | | $ 2,500 | | | | | | | | | | | | |
Astra Zeneca | Commercialization | | | | | | | | | | | | | | |
Collaborative Arrangements and Non-collaborative Arrangement Transactions [Line Items] | | | | | | | | | | | | | | |
Revenue through milestone payments | | | | | | | | | | | 370,000 | 370,000 | | |
Astra Zeneca | Side Letter | | | | | | | | | | | | | | |
Collaborative Arrangements and Non-collaborative Arrangement Transactions [Line Items] | | | | | | | | | | | | | | |
Revenue recognized | | | | | | | | | | | 2,600 | 3,200 | | |
Deferred revenue | | | | | | | | | | | 900 | $ 900 | | |
Astra Zeneca | Side Letter | Pre-IND and API manufacturing activities | | | | | | | | | | | | | | |
Collaborative Arrangements and Non-collaborative Arrangement Transactions [Line Items] | | | | | | | | | | | | | | |
Percentage of cost funded | | | 100.00% | | | | | | | | | | | |
Astra Zeneca | Side Letter | Phase I clinical study product manufacturing activities | | | | | | | | | | | | | | |
Collaborative Arrangements and Non-collaborative Arrangement Transactions [Line Items] | | | | | | | | | | | | | | |
Percentage of cost funded | | | 50.00% | | | | | | | | | | | |
GSK | | | | | | | | | | | | | | |
Collaborative Arrangements and Non-collaborative Arrangement Transactions [Line Items] | | | | | | | | | | | | | | |
Deferred revenue recognition period | | | | | | | | | | | | 8 years | | |
Acceleration of remaining amortization of upfront payment | | | | $ 3,100 | | | | $ 1,100 | | | | | | |
Biogen | | | | | | | | | | | | | | |
Collaborative Arrangements and Non-collaborative Arrangement Transactions [Line Items] | | | | | | | | | | | | | | |
Initial upfront option payment | | | | | $ 2,000 | | | | | $ 800 | | | | |
Deferred revenue | | | | | | | | | | | $ 200 | $ 200 | | |
Deferred revenue remaining recognition period | | | | | 1 year | | | | | | | 1 month | | |
Acceleration of remaining amortization of upfront payment | | | | | $ 100 | | | | | | | | | |
Revenue recognition period | | | | | | | | | | 2 years | | | | |
Biogen | Research and development | | | | | | | | | | | | | | |
Collaborative Arrangements and Non-collaborative Arrangement Transactions [Line Items] | | | | | | | | | | | | | | |
Milestone payments, earned | $ 300 | | $ 100 | | | | | | | | | | | |
Deferred revenue | | | | | 2,000 | | | | | | | | | |
Additional milestone payments | | | | | $ 300 | | | | | | | | | |
Biogen | Research Tax Credit Carryforward | | | | | | | | | | | | | | |
Collaborative Arrangements and Non-collaborative Arrangement Transactions [Line Items] | | | | | | | | | | | | | | |
Revenue through milestone payments | | | | | | | | | | $ 1,300 | | | | |
Biogen | Amended Collaboration and License Agreement | | | | | | | | | | | | | | |
Collaborative Arrangements and Non-collaborative Arrangement Transactions [Line Items] | | | | | | | | | | | | | | |
Revenue through milestone payments | | | | | | | | | | | | | | $ 300 |