XML 66 R57.htm IDEA: XBRL DOCUMENT
v3.23.3

Foreign Currency Forward Contracts (Additional Information) (Details) | 9 Months Ended
--- | ---
Sep. 30, 2023
Foreign Currency Transaction [Abstract] |
Description of contracts term | The contracts have terms between one and 12 months and require the Company to exchange currencies at agreed-upon rates at each settlement date

X
- Definition Description Of Contract + References No definition available. + Details
Name: | rail_DescriptionOfContract
Namespace Prefix: | rail_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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