XML 76 R54.htm IDEA: XBRL DOCUMENT
v3.22.1

Investments in Marketable Debt Securities, Available-for-Sale - Amortized cost, gross unrealized gains/losses in accumulated other comprehensive loss and fair value of marketable securities, available-for-sale, by type of security (Details) - USD ($) $ in Thousands | 12 Months Ended |
--- | --- | ---
Dec. 31, 2021 | Dec. 31, 2020
Debt Securities, Available-for-sale [Line Items] |  |
Amortized Cost | $ 94,782 |
Gross Unrealized Gains | 1 |
Gross Unrealized Losses | (87) |
Fair Value | 94,696 | $ 0
Amortized Cost | 55,111 |
Gross Unrealized Gains | 0 |
Gross Unrealized Losses | (295) |
Fair Value | 54,816 | $ 0
Corporate debt security |  |
Debt Securities, Available-for-sale [Line Items] |  |
Amortized Cost | 71,406 |
Gross Unrealized Gains | 0 |
Gross Unrealized Losses | (57) |
Fair Value | 71,349 |
Amortized Cost | 42,703 |
Gross Unrealized Gains | 0 |
Gross Unrealized Losses | (246) |
Fair Value | 42,457 |
U.S. treasuries |  |
Debt Securities, Available-for-sale [Line Items] |  |
Amortized Cost | 3,415 |
Gross Unrealized Gains | 0 |
Gross Unrealized Losses | (7) |
Fair Value | 3,408 |
Amortized Cost | 2,201 |
Gross Unrealized Gains | 0 |
Gross Unrealized Losses | (5) |
Fair Value | 2,196 |
Asset-backed security and other |  |
Debt Securities, Available-for-sale [Line Items] |  |
Amortized Cost | 2,555 |
Gross Unrealized Gains | 0 |
Gross Unrealized Losses | (4) |
Fair Value | 2,551 |
Amortized Cost | 5,438 |
Gross Unrealized Gains | 0 |
Gross Unrealized Losses | (28) |
Fair Value | 5,410 |
Non-U.S. government and supranational bonds |  |
Debt Securities, Available-for-sale [Line Items] |  |
Amortized Cost | 16,405 |
Gross Unrealized Gains | 1 |
Gross Unrealized Losses | (19) |
Fair Value | 16,387 |
Amortized Cost | 3,769 |
Gross Unrealized Gains | 0 |
Gross Unrealized Losses | (16) |
Fair Value | 3,753 |
Certificate of deposit |  |
Debt Securities, Available-for-sale [Line Items] |  |
Amortized Cost | 1,001 |
Gross Unrealized Gains | 0 |
Gross Unrealized Losses | 0 |
Fair Value | 1,001 |
Amortized Cost | 1,000 |
Gross Unrealized Gains | 0 |
Gross Unrealized Losses | 0 |
Fair Value | $ 1,000 |

X
- Definition Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), classified as current. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=124258926&loc=SL82898722-210454 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=124260329&loc=d3e26626-111562 + Details
Name: | us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), classified as noncurrent. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=124258926&loc=SL82898722-210454 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=124260329&loc=d3e26626-111562 + Details
Name: | us-gaap_AvailableForSaleSecuritiesDebtSecuritiesNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), classified as current. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123581744&loc=d3e27161-111563 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=124258926&loc=SL82898722-210454 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), classified as noncurrent. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=124258926&loc=SL82898722-210454 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123581744&loc=d3e27161-111563 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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_ScheduleOfAvailableForSaleSecuritiesLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Debt Securities, Available-for-sale, Unrealized Gain, Current + References No definition available. + Details
Name: | xos_DebtSecuritiesAvailableForSaleUnrealizedGainCurrent
Namespace Prefix: | xos_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Debt Securities, Available-for-sale, Unrealized Gain, Noncurrent + References No definition available. + Details
Name: | xos_DebtSecuritiesAvailableForSaleUnrealizedGainNoncurrent
Namespace Prefix: | xos_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Debt Securities, Available-for-sale, Unrealized Loss, Current + References No definition available. + Details
Name: | xos_DebtSecuritiesAvailableForSaleUnrealizedLossCurrent
Namespace Prefix: | xos_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Debt Securities, Available-for-sale, Unrealized Loss, Noncurrent + References No definition available. + Details
Name: | xos_DebtSecuritiesAvailableForSaleUnrealizedLossNoncurrent
Namespace Prefix: | xos_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_CorporateDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_USTreasurySecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_AssetBackedSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_ForeignGovernmentDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_CertificatesOfDepositMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |