XML 124 R49.htm IDEA: XBRL DOCUMENT
v3.19.3.a.u2

Collaboration Agreements and Revenues - Deferred Revenue - Additional Information (Detail) - USD ($) $ in Thousands | Dec. 31, 2019 | Dec. 31, 2018
--- | --- | ---
Contract with Customer, Liability [Abstract] |  |
Deferred revenue | $ 54,790 | $ 0
AstraZeneca Agreements [Member] | China [Member] |  |
Contract with Customer, Liability [Abstract] |  |
Deferred revenue | $ 800 |

X
- Definition Amount of obligation to transfer good or service to customer for which consideration has been received or is receivable. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=118944033&loc=SL49130531-203044 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 8 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=118956577&loc=SL49130549-203045 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=118944033&loc=SL49130532-203044 + Details
Name: | us-gaap_ContractWithCustomerLiability
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_ContractWithCustomerLiabilityAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_TypeOfArrangementAxis=fgen_AstraZenecaAgreementsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=country_CN
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |