XML 95 R77.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Commitments and Contingencies - Additional Information (Detail) $ in Millions | 1 Months Ended | 12 Months Ended
--- | --- | ---
May 31, 2021 PutativeClassAction | Apr. 30, 2021 PutativeClassAction | Dec. 31, 2021 USD ($)
Commitments And Contingencies [Line Items] |  |  |
Putative securities class action complaints filed | PutativeClassAction | 2 | 3 |
Research and Pre-Clinical Stage Development Programs [Member] |  |  |
Commitments And Contingencies [Line Items] |  |  |
Maximum future milestone payments | $ |  |  | $ 704.1

X
- Definition Commitments and contingencies. + References No definition available. + Details
Name: | fgen_CommitmentsAndContingenciesLineItems
Namespace Prefix: | fgen_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Maximum future milestone payments. + References No definition available. + Details
Name: | fgen_MaximumFutureMilestonePayments
Namespace Prefix: | fgen_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The total number of new claims filed pertaining to a loss contingency during the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=121557415&loc=d3e14435-108349 + Details
Name: | us-gaap_LossContingencyNewClaimsFiledNumber
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_LongTermPurchaseCommitmentByCategoryOfItemPurchasedAxis=fgen_ResearchAndPreClinicalStageDevelopmentProgramsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |