XML 42 R31.htm IDEA: XBRL DOCUMENT v3.19.1
Balance Sheet Details - Schedule of Accrued Liabilities (Detail) - USD ($)
$ in Thousands
Mar. 31, 2019
Dec. 31, 2018
Payables And Accruals [Abstract]    
Accrued consulting and professional fees $ 18,207 $ 19,325
Accrued sales allowances 17,252 5,849
Accrued compensation and benefits 15,817 17,028
Accrued research and development services 12,233 10,367
Current portion of lease liabilities 4,468  
Other 3,731 3,829
Accrued liabilities $ 71,708 $ 56,398