XML 120 R71.htm IDEA: XBRL DOCUMENT v3.6.0.2
FibroGen, Inc. 401(k) Plan - Additional Information (Detail) - USD ($)
$ in Millions
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Compensation And Retirement Disclosure [Abstract]      
Defined contribution plan, maximum annual contributions per employee, percent 60.00%    
Defined contribution plan, employer matching contributions $ 2.3 $ 2.5 $ 1.9