XML 131 R110.htm IDEA: XBRL DOCUMENT
v3.23.1

Segment Information - Schedule of Segment Reporting Information, by Segment (Parenthetical) (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2022 | Dec. 31, 2021
Segment Reporting [Abstract] |  |
Restructuring and impairment charges | $ 0 | $ 6,530
Loss on pension settlement | $ 8,105 | $ 0

X
- Definition Income loss on pension settlement. + References No definition available. + Details
Name: | rail_IncomeLossOnPensionSettlement
Namespace Prefix: | rail_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of restructuring charges, remediation cost, and asset impairment loss. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.3) -URI https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227 + Details
Name: | us-gaap_RestructuringSettlementAndImpairmentProvisions
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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