XML 78 R49.htm IDEA: XBRL DOCUMENT v3.19.3.a.u2
Balance Sheet Components - Additional Information (Detail) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2019
Dec. 31, 2018
Dec. 31, 2017
Inventory [Line Items]      
Inventories, noncurrent portion $ 56,096 $ 9,645  
Long-term prepaid manufacturing 4,700 10,900  
Charge for reserve on excess and obsolescence of inventories 4,152 2,246 $ 0
Cost of Sales      
Inventory [Line Items]      
Charge for reserve on excess and obsolescence of inventories $ 17,800 $ 12,600