XML 53 R45.htm IDEA: XBRL DOCUMENT
v3.25.2

Accounts receivable - Narrative (Details) - USD ($) $ in Thousands | 12 Months Ended |  |  |
--- | --- | --- | --- | ---
Dec. 31, 2022 | Jun. 30, 2025 | Mar. 31, 2025 | Dec. 31, 2024
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |  |
Holdback receivable |  | $ 0 |  | $ 10,737
Cummins Westport Inc |  |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |  |
Purchase agreement holdback term (in years) | 3 years |  |  |
Holdback receivable |  |  | $ 11,365 |

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 Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 310 -SubTopic 20 -Name Accounting Standards Codification -Section 40 -Paragraph 7 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481628/310-20-40-7 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481990/310-10-45-2 + Details
Name: | us-gaap_AccountsNotesAndLoansReceivableLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Holdback Receivables, Net, Current + References No definition available. + Details
Name: | wprt_HoldbackReceivablesNetCurrent
Namespace Prefix: | wprt_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Holdback, Term + References No definition available. + Details
Name: | wprt_HoldbackTerm
Namespace Prefix: | wprt_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis=wprt_CumminsWestportIncMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |