XML 43 R47.htm IDEA: XBRL DOCUMENT
v3.19.3.a.u2

Collaboration Agreements and Revenues - Summary of Product Revenue, Net (Detail) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2019 | Dec. 31, 2018 | Dec. 31, 2017
Disaggregation Of Revenue [Line Items] |  |  |
Total product revenue, net | $ 256,577 | $ 212,958 | $ 130,996
API Product [Member] |  |  |
Disaggregation Of Revenue [Line Items] |  |  |
Total product revenue, net | (36,324) | 64,776 |
Drug Product [Member] |  |  |
Disaggregation Of Revenue [Line Items] |  |  |
Total product revenue, net | 1,700 | 0 |
Gross revenue | 2,803 | 0 |
Price adjustment | (936) | 0 |
Sales rebates and other discounts | (167) | 0 |
Product Revenue [Member] |  |  |
Disaggregation Of Revenue [Line Items] |  |  |
Total product revenue, net | $ (34,624) | $ 64,776 | $ 0

X
- Definition Price adjustment changes. + References No definition available. + Details
Name: | fgen_PriceAdjustmentChanges
Namespace Prefix: | fgen_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Revenue gross from contract with customer excluding assessed tax. + References No definition available. + Details
Name: | fgen_RevenueGrossFromContractWithCustomerExcludingAssessedTax
Namespace Prefix: | fgen_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Sales rebates and other discounts. + References No definition available. + Details
Name: | fgen_SalesRebatesAndOtherDiscounts
Namespace Prefix: | fgen_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_DisaggregationOfRevenueLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, excluding tax collected from customer, of revenue from satisfaction of performance obligation by transferring promised good or service to customer. Tax collected from customer is tax assessed by governmental authority that is both imposed on and concurrent with specific revenue-producing transaction, including, but not limited to, sales, use, value added and excise. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 4 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=118956577&loc=SL49130543-203045 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=118956577&loc=SL49130545-203045 + Details
Name: | us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | srt_ProductOrServiceAxis=fgen_APIProductMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=fgen_DrugProductMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=us-gaap_ProductMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |