XML 34 R21.htm IDEA: XBRL DOCUMENT
v3.10.0.1

Significant Accounting Policies - Additional Information (Detail) $ in Millions | 6 Months Ended | 12 Months Ended |
--- | --- | --- | ---
Jun. 30, 2018 Segment | Dec. 31, 2017 USD ($) | Dec. 31, 2016 USD ($) | Jan. 01, 2016 USD ($)
Accounting Policy [Line Items] |  |  |  |
Number of operating segment | Segment | 1 |  |  |
Short term investments Maturity | 12 months |  |  |
Long term Investments Maturity | 12 months |  |  |
U.S. federal statutory income tax rate | 21.00% | 35.00% |  |
ASU 2014-09 [Member] | Accumulated Deficit [Member] |  |  |  |
Accounting Policy [Line Items] |  |  |  |
Increase in accumulative deficit |  |  |  | $ 43.7
New Revenue Standards [Member] | Revenue [Member] |  |  |  |
Accounting Policy [Line Items] |  |  |  |
Increase (reduction) in revenue |  | $ 5.3 | $ 3.6 |

X
- Definition Accounting policy. + References No definition available. + Details
Name: | fgen_AccountingPolicyLineItems
Namespace Prefix: | fgen_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Long term investments minimum maturity period. + References No definition available. + Details
Name: | fgen_LongTermInvestmentsMinimumMaturityPeriod
Namespace Prefix: | fgen_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Short term investments maximum maturity period. + References No definition available. + Details
Name: | fgen_ShortTermInvestmentsMaximumMaturityPeriod
Namespace Prefix: | fgen_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount after tax of increase (decrease) to equity or (increase) decrease to net assets, resulting from the cumulative effect adjustment of a new accounting principle applied in the period of adoption. + References No definition available. + Details
Name: | us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Percentage of domestic federal statutory tax rate applicable to pretax income (loss). + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 12 -URI http://asc.fasb.org/extlink&oid=84230637&loc=d3e32687-109319 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB TOPIC 6.I) -URI http://asc.fasb.org/extlink&oid=34349781&loc=d3e330036-122817 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 13 -URI http://asc.fasb.org/extlink&oid=84230637&loc=d3e32698-109319 + Details
Name: | us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Represents the quantification of the effect of adopting the new accounting standard or change in accounting principle expected by the entity to have a significant effect on the entity's financial statements. + References No definition available. + Details
Name: | us-gaap_NewAccountingPronouncementOrChangeInAccountingPrincipleEffectOfAdoptionQuantification
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Number of operating segments. An operating segment is a component of an enterprise: (a) that engages in business activities from which it may earn revenues and incur expenses (including revenues and expenses relating to transactions with other components of the same enterprise), (b) whose operating results are regularly reviewed by the enterprise's chief operating decision maker to make decisions about resources to be allocated to the segment and assess its performance, and (c) for which discrete financial information is available. An operating segment may engage in business activities for which it has yet to earn revenues, for example, start-up operations may be operating segments before earning revenues. + References No definition available. + Details
Name: | us-gaap_NumberOfOperatingSegments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_AdjustmentsForNewAccountingPronouncementsAxis=us-gaap_AccountingStandardsUpdate201409Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=us-gaap_RetainedEarningsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AdjustmentsForChangeInAccountingPrincipleAxis=fgen_NewRevenueStandardsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_SalesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |