XML 102 R81.htm IDEA: XBRL DOCUMENT
v3.22.4

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

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://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=121557415&loc=d3e14435-108349 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 9 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=121557415&loc=d3e14557-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: |