Commitments and Contingencies - Summary of Future Minimum Rental Payments Due under Company's Facilities Lease (Detail) $ in Thousands |
Dec. 31, 2016
USD ($)
|
|---|---|
| Leases [Abstract] | |
| 2017 | $ 3,377 |
| 2018 | 2,835 |
| 2019 | 0 |
| 2020 | 0 |
| 2021 | 0 |
| Thereafter | 0 |
| Total lease payments | $ 6,212 |