XML 49 R29.htm IDEA: XBRL DOCUMENT
v3.21.1

Fair Value Measurements - Schedule of company's assets that are measured at fair value on a recurring basis (Detail) - USD ($) | Dec. 31, 2020 | Dec. 31, 2019
--- | --- | ---
Quoted Prices in Active Markets (Level 1) [Member] |  |
Liabilities |  |
Warrants and rights outstanding | $ 161,456,462 | $ 6,282,349
Quoted Prices in Active Markets (Level 1) [Member] | Public Warrants [Member] |  |
Liabilities |  |
Warrants and rights outstanding | 161,456,462 | 6,282,349
Quoted Prices in Active Markets (Level 1) [Member] | Private Placement Warrants [Member] |  |
Liabilities |  |
Warrants and rights outstanding | 0 | 0
Quoted Prices in Active Markets (Level 1) [Member] | Money Market Funds [Member] |  |
Assets |  |
Investments held in Trust Account Money Market Funds | 316,991,065 | 316,398,889
Significant Other Observable Inputs (Level 2) [Member] |  |
Liabilities |  |
Warrants and rights outstanding | 0 | 0
Significant Other Observable Inputs (Level 2) [Member] | Public Warrants [Member] |  |
Liabilities |  |
Warrants and rights outstanding | 0 | 0
Significant Other Observable Inputs (Level 2) [Member] | Private Placement Warrants [Member] |  |
Liabilities |  |
Warrants and rights outstanding | 0 | 0
Significant Other Observable Inputs (Level 2) [Member] | Money Market Funds [Member] |  |
Assets |  |
Investments held in Trust Account Money Market Funds |  |
Significant Other Unobservable Inputs (Level 3) [Member] |  |
Liabilities |  |
Warrants and rights outstanding | 158,469,002 | 3,312,941
Significant Other Unobservable Inputs (Level 3) [Member] | Public Warrants [Member] |  |
Liabilities |  |
Warrants and rights outstanding | 0 | 0
Significant Other Unobservable Inputs (Level 3) [Member] | Private Placement Warrants [Member] |  |
Liabilities |  |
Warrants and rights outstanding | 158,469,002 | 3,312,941
Significant Other Unobservable Inputs (Level 3) [Member] | Money Market Funds [Member] |  |
Assets |  |
Investments held in Trust Account Money Market Funds |  |

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

X
- Definition The amount of cash, securities, or other assets held by a third-party trustee pursuant to the terms of an agreement which assets are available to be used by beneficiaries to that agreement only within the specific terms thereof and which agreement is expected to terminate within one year of the balance sheet date (or operating cycle, if longer) at which time the assets held-in-trust will be released or forfeited. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(b)) -URI http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690 + Details
Name: | us-gaap_AssetsHeldInTrustCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

X
- Definition Value of outstanding derivative securities that permit the holder the right to purchase securities (usually equity) from the issuer at a specified price. + References No definition available. + Details
Name: | us-gaap_WarrantsAndRightsOutstanding
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel1Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ClassOfWarrantOrRightAxis=swea_PublicWarrantsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ClassOfWarrantOrRightAxis=swea_PrivatePlacementWarrantsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CashAndCashEquivalentsAxis=us-gaap_MoneyMarketFundsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel2Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel3Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |