Entity Central Index Key Interest and other income (loss). Cover [Abstract] Document Type Document Type Amendment Flag Amendment Flag Document Period End Date Document Period End Date Document Fiscal Year Focus Document Fiscal Year Focus Document Fiscal Period Focus Document Fiscal Period Focus Document Annual Report Document Annual Report Document Transition Report Document Transition Report Entity Registrant Name Entity Registrant Name Entity Central Index Key Current Fiscal Year End Date Current Fiscal Year End Date Entity Filer Category Entity Filer Category Trading Symbol Trading Symbol Entity Emerging Growth Company Entity Emerging Growth Company Entity Ex Transition Period Entity Ex Transition Period Entity Small Business Entity Small Business Entity Common Stock, Shares Outstanding Entity Common Stock Shares Outstanding Entity Public Float Entity Public Float Entity Interactive Data Current Entity Interactive Data Current Title of 12(b) Security Security12b Title Security Exchange Name Security Exchange Name Entity Current Reporting Status Entity Current Reporting Status Entity Shell Company Entity Shell Company Entity File Number Entity File Number Entity Incorporation, State or Country Code Entity Incorporation State Country Code Entity Tax Identification Number Entity Tax Identification Number Entity Address, Address Line One Entity Address Address Line1 Entity Address, City or Town Entity Address City Or Town Entity Address, State or Province Entity Address State Or Province Entity Address, Postal Zip Code Entity Address Postal Zip Code City Area Code City Area Code Local Phone Number Local Phone Number ICFR Auditor Attestation Flag Icfr Auditor Attestation Flag Entity Well-known Seasoned Issuer Entity Well Known Seasoned Issuer Entity Voluntary Filers Entity Voluntary Filers Auditor Firm ID Auditor Firm Id Auditor Name Auditor Name Auditor Location Auditor Location Accrued expenses and other current liabilities. Statement Of Financial Position [Abstract] Statement [Table] Statement [Table] Class of Stock Statement Class Of Stock [Axis] Class of Stock Class Of Stock [Domain] Series A convertible preferred stock. Series A Convertible Preferred Stock Series A Convertible Preferred Stock [Member] Statement [Line Items] Statement [Line Items] Assets Assets [Abstract] Current assets: Assets Current [Abstract] Cash and cash equivalents Cash And Cash Equivalents At Carrying Value Short-term investments Short Term Investments Prepaid expenses and other current assets Prepaid Expense And Other Assets Current Total current assets Assets Current Property and equipment, net Property Plant And Equipment Net Restricted cash Restricted Cash Other assets Other Assets Noncurrent Long-term investments Long Term Investments Operating lease right-of-use assets Operating Lease Right Of Use Asset Total assets Assets Liabilities, Convertible Preferred Stock and Stockholders' Equity Liabilities And Stockholders Equity [Abstract] Current liabilities: Liabilities Current [Abstract] Accounts payable Accounts Payable Current Accrued expenses and other current liabilities Accrued Expenses And Other Current Liabilities Loan payable Loans Payable Current Short-term operating lease liabilities Operating Lease Liability Current Total current liabilities Liabilities Current Long-term operating lease liabilities Operating Lease Liability Noncurrent Total liabilities Liabilities Commitments and contingencies (Note 8) Commitments And Contingencies Series A convertible preferred stock, $0.0001 par value; 0 and 7,064,925 shares authorized as of December 31, 2021 and December 31, 2020, respectively; 0 and 7,064,925 shares issued and outstanding as of December 31, 2021 and December 31, 2020, respectively; aggregate liquidation preference of $0 and $56,000 as of December 31, 2021 and December 31, 2020, respectively Temporary Equity Carrying Amount Attributable To Parent Stockholders' equity: Stockholders Equity [Abstract] Preferred stock, $0.0001 par value; 10,000,000 and 0 shares authorized as of December 31, 2021 and December 31, 2020; 0 shares issued and outstanding as of December 31, 2021 and December 31, 2020 Preferred Stock Value Common stock, $0.0001 par value; 300,000,000 and 25,300,080 shares authorized as of December 31, 2021 and December 31, 2020, respectively; 29,115,421 and 11,953,107 shares issued and outstanding as of December 31, 2021 and December 31, 2020, respectively Common Stock Value Additional paid-in capital Additional Paid In Capital Accumulated other comprehensive loss Accumulated Other Comprehensive Income Loss Net Of Tax Accumulated deficit Retained Earnings Accumulated Deficit Total stockholders' equity Stockholders Equity Total liabilities, convertible preferred stock, and stockholders' equity Liabilities And Stockholders Equity Preferred stock, par value Temporary Equity Par Or Stated Value Per Share Preferred stock, shares authorized Temporary Equity Shares Authorized Preferred stock, shares issued Temporary Equity Shares Issued Preferred stock, shares outstanding Temporary Equity Shares Outstanding Preferred stock, aggregate liquidation preference Temporary Equity Liquidation Preference Preferred stock, par value Preferred Stock Par Or Stated Value Per Share Preferred stock, shares authorized Preferred Stock Shares Authorized Preferred stock, shares issued Preferred Stock Shares Issued Preferred stock, shares outstanding Preferred Stock Shares Outstanding Common stock, par value Common Stock Par Or Stated Value Per Share Common stock, shares authorized Common Stock Shares Authorized Common stock, shares issued Common Stock Shares Issued Common stock, shares outstanding Common Stock Shares Outstanding Income Statement [Abstract] Operating expenses: Operating Expenses [Abstract] Research and development Research And Development Expense General and administrative General And Administrative Expense Total operating expenses Operating Expenses Loss from operations Operating Income Loss Interest and other income (loss), net Interest And Other Income Loss Net loss Net Income Loss Other comprehensive loss: Other Comprehensive Income Loss Net Of Tax Period Increase Decrease [Abstract] Unrealized gain (loss) on investments, net Other Comprehensive Income Unrealized Holding Gain Loss On Securities Arising During Period Net Of Tax Comprehensive loss Comprehensive Income Net Of Tax Net loss per share, basic and diluted Earnings Per Share Basic And Diluted Weighted-average number of shares outstanding, basic and diluted Weighted Average Number Of Share Outstanding Basic And Diluted Temporary equity stock issued during period shares new issues. Temporary equity, stock issued during period, financing costs. Temporary equity conversion of convertible preferred stock into common stock. Statement Of Stockholders Equity [Abstract] Equity Components Statement Equity Components [Axis] Equity Component Equity Component [Domain] Common Stock Common Stock [Member] Additional Paid-in Capital Additional Paid In Capital [Member] Accumulated Other Comprehensive Gain (Loss) Accumulated Other Comprehensive Income [Member] Accumulated Deficit Retained Earnings [Member] Sale of Stock Subsidiary Sale Of Stock [Axis] Sale of Stock Sale Of Stock Name Of Transaction [Domain] IPO I P O [Member] Balance Balance (in shares) Balance Balance (in shares) Shares Outstanding Issuance of Series A convertible preferred stock, net of issuance costs of $261 Temporary Equity Stock Issued During Period Value New Issues Issuance of Series A convertible preferred stock, net of issuance costs of $261 (in shares) Temporary Equity Stock Issued During Period Shares New Issues Series A convertible preferred stock issuance costs Temporary Equity Stock Issued During Period Financing Costs Issuance of common stock Stock Issued During Period Value New Issues Issuance of common stock (in shares) Stock Issued During Period Shares New Issues Issuance of restricted stock Stock Issued During Period Value Restricted Stock Award Net Of Forfeitures Issuance of restricted stock (in shares) Stock Issued During Period Shares Restricted Stock Award Net Of Forfeitures Conversion of Series A convertible preferred stock into common stock Stock Issued During Period Value Conversion Of Convertible Securities Conversion of Series A convertible preferred stock into common stock (in shares) Temporary Equity Conversion Of Convertible Preferred Stock Into Common Stock Conversion of Series A convertible preferred stock into common stock Reclassifications Of Temporary To Permanent Equity Conversion of Series A convertible preferred stock into common stock (in shares) Stock Issued During Period Shares Conversion Of Convertible Securities Exercise of stock options Stock Issued During Period Value Stock Options Exercised Exercise of stock options, (in shares) Stock Issued During Period Shares Stock Options Exercised Purchases under employee stock purchase plan Stock Issued During Period Value Employee Stock Purchase Plan Purchases under employee stock purchase plan (in shares) Stock Issued During Period Shares Employee Stock Purchase Plans Stock-based compensation expense Adjustments To Additional Paid In Capital Sharebased Compensation Requisite Service Period Recognition Value Net loss Balance Balance (in shares) Balance Balance (in shares) Temporary equity stock issued issuance costs. Issuance of Series A convertible preferred stock, issuance costs Temporary Equity Stock Issued Issuance Costs Issuance of common stock issuance costs Adjustments To Additional Paid In Capital Stock Issued Issuance Costs Unpaid deferred offering costs. Statement Of Cash Flows [Abstract] Cash flows from operating activities Net Cash Provided By Used In Operating Activities [Abstract] Net loss Profit Loss Adjustments to reconcile net loss to net cash used in operating activities Adjustments To Reconcile Net Income Loss To Cash Provided By Used In Operating Activities [Abstract] Depreciation expense Depreciation Non-cash operating lease expense Operating Lease Right Of Use Asset Amortization Expense Stock-based compensation expense Share Based Compensation Net amortization of premiums and accretion of discounts on investments Accretion Amortization Of Discounts And Premiums Investments Changes in operating assets and liabilities: Increase Decrease In Operating Capital [Abstract] Prepaid expenses and other current assets Increase Decrease In Prepaid Deferred Expense And Other Assets Other assets Increase Decrease In Other Operating Assets Accounts payable Increase Decrease In Accounts Payable Accrued expenses and other current liabilities Increase Decrease In Accrued Liabilities And Other Operating Liabilities Operating lease liabilities Increase Decrease In Operating Lease Liability Net cash used in operating activities Net Cash Provided By Used In Operating Activities Cash flows from investing activities Net Cash Provided By Used In Investing Activities [Abstract] Purchase of property and equipment Payments To Acquire Property Plant And Equipment Purchase of investments Payments To Acquire Investments Maturities of investments Proceeds From Sale Maturity And Collections Of Investments Net cash used in investing activities Net Cash Provided By Used In Investing Activities Cash flows from financing activities Net Cash Provided By Used In Financing Activities [Abstract] Proceeds from issuance of common stock, net of issuance costs Proceeds From Issuance Of Common Stock Proceeds from issuance of Series A convertible preferred stock, net of issuance costs Proceeds From Issuance Of Convertible Preferred Stock Proceeds from issuance of common stock from initial public offering, net of issuance costs Proceeds From Issuance Initial Public Offering Proceeds from exercise of stock options and purchases under the employee stock purchase plan Proceeds From Issuance Of Shares Under Incentive And Share Based Compensation Plans Including Stock Options Proceeds (payment) from Paycheck Protection Program loan Proceeds From Repayments Of Notes Payable Net cash provided by financing activities Net Cash Provided By Used In Financing Activities Net increase in cash, cash equivalents, and restricted cash Cash Cash Equivalents Restricted Cash And Restricted Cash Equivalents Period Increase Decrease Including Exchange Rate Effect Cash, cash equivalents, and restricted cash at the beginning of the period Cash Cash Equivalents Restricted Cash And Restricted Cash Equivalents Cash, cash equivalents, and restricted cash at the end of the period Non-cash financing and investing activities: Noncash Investing And Financing Items [Abstract] Conversion of Series A convertible preferred stock into common stock Conversion Of Stock Amount Issued1 Acquisition of operating lease right-of-use assets Right Of Use Asset Obtained In Exchange For Operating Lease Liability Acquisition of property and equipment included in accounts payable and accrued liabilities Noncash Or Part Noncash Acquisition Fixed Assets Acquired1 Unpaid deferred offering costs Unpaid Deferred Offering Costs Reconciliation of cash, cash equivalents, and restricted cash: Cash Cash Equivalents Restricted Cash And Restricted Cash Equivalents [Abstract] Documents Incorporated by Reference Documents Incorporated By Reference [Text Block] Organization Consolidation And Presentation Of Financial Statements [Abstract] Organization Organization Consolidation And Presentation Of Financial Statements Disclosure [Text Block] Accounting Policies [Abstract] Summary of Significant Accounting Policies Significant Accounting Policies [Text Block] Fair Value Disclosures [Abstract] Fair Value Measurement Fair Value Disclosures [Text Block] Balance Sheet Related Disclosures [Abstract] Balance Sheet Components Supplemental Balance Sheet Disclosures [Text Block] Equity [Abstract] Capital Structure Stockholders Equity Note Disclosure [Text Block] Disclosure Of Compensation Related Costs Sharebased Payments [Abstract] Stock-Based Compensation Disclosure Of Compensation Related Costs Share Based Payments [Text Block] Income Tax Disclosure [Abstract] Taxes Income Tax Disclosure [Text Block] Commitments And Contingencies Disclosure [Abstract] Commitments and Contingencies Commitments And Contingencies Disclosure [Text Block] Earnings Per Share [Abstract] Net Loss Per Share Earnings Per Share [Text Block] Quarterly Financial Information Disclosure [Abstract] Selected Quarterly Financial Data (Unaudited) Quarterly Financial Information [Text Block] Subsequent Events [Abstract] Subsequent Events Subsequent Events [Text Block] Use of Estimates Use Of Estimates Segments Segment Reporting Policy Policy [Text Block] Concentration of Credit Risk and Other Risks and Uncertainties Concentration Risk Credit Risk Cash, Cash Equivalents, and Restricted Cash Cash And Cash Equivalents Restricted Cash And Cash Equivalents Policy Investments Investment Policy [Text Block] Property and Equipment, Net Property Plant And Equipment Policy [Text Block] Impairment of Long-Lived Assets Impairment Or Disposal Of Long Lived Assets Policy [Text Block] Convertible preferred stock. Convertible Preferred Stock Convertible Preferred Stock Policy [Text Block] Research and Development Expenses Research And Development Expense Policy Accrued research and development expenses. Accrued Research and Development Expenses Accrued Research And Development Expenses Policy [Text Block] Stock-Based compensation Compensation Related Costs Policy [Text Block] Net Loss Per Share Earnings Per Share Policy [Text Block] Leases Lessee Leases Policy [Text Block] Income Taxes Income Tax Policy [Text Block] Deferred Offering Costs Deferred Charges Policy [Text Block] Recent Accounting Pronouncements New Accounting Pronouncements Policy Policy [Text Block] Schedule of useful lives of property and equipment. Property Plant And Equipment [Abstract] Summary of Useful Lives of Property and Equipment Schedule Of Useful Lives Of Property And Equipment Table [Text Block] Summary of Investments Measured and Recognized at Fair Value Schedule Of Available For Sale Securities Reconciliation Table [Text Block] Property, Plant and Equipment [Table Text Block] Property Plant And Equipment [Text Block] Schedule of Accrued Liabilities [Table Text Block] Schedule Of Accrued Liabilities Table [Text Block] Schedule of Reserved Common Stock Converted Basis for Future Issuance Schedule Of Conversions Of Stock [Text Block] Schedule of Series A Convertible Preferred Stock Schedule Of Stock By Class [Text Block] Summary of Stock-Based Compensation Expense Recorded in Statements of Operations and Allocated Schedule Of Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Text Block] Summary of Stock Option Activity Schedule Of Share Based Compensation Stock Options Activity Table [Text Block] Summary of Fair Value of Stock Options Estimated using Weighted-Average Assumptions Schedule Of Share Based Payment Award Stock Options Valuation Assumptions Table [Text Block] Summary of Restricted Stock Activity Nonvested Restricted Stock Shares Activity Table [Text Block] Summary of Reconciliation of Statutory Federal Income Tax Rate to Company's Effective Tax Rate Schedule Of Effective Income Tax Rate Reconciliation Table [Text Block] Summary of Deferred Tax Assets and Liabilities Schedule Of Deferred Tax Assets And Liabilities Table [Text Block] Schedule of Unrecognized Tax Benefits Schedule Of Unrecognized Tax Benefits Excluding Amounts Pertaining To Examined Tax Returns Roll Forward Table [Text Block] Schedule of Maturities of Lease Liabilities Lessee Operating Lease Liability Maturity Table [Text Block] Summary of Computation of Basic and Diluted Net Loss Per Share Schedule Of Earnings Per Share Basic And Diluted Table [Text Block] Summary of Potential Dilutive Securities Excluded from Calculation of Diluted Per Share Schedule Of Antidilutive Securities Excluded From Computation Of Earnings Per Share [Text Block] Summary of Selected Quarterly Financial Data Schedule Of Quarterly Financial Information Table [Text Block] Schedule Of Stock By Class [Table] Schedule Of Stock By Class [Table] Class Of Stock [Line Items] Class Of Stock [Line Items] Forward stock split ratio Stockholders Equity Note Stock Split Conversion Ratio1 Stock issued during period in connection with underwriters exercise of option to purchase additional shares. Issuance of common stock, net of offering costs (in shares) Initial public offering, price per share Sale Of Stock Price Per Share Shares issued in connection with underwriters exercise of option to purchase additional shares Stock Issued During Period In Connection With Underwriters Exercise Of Option To Purchase Additional Shares Preferred stock converted to common stock Proceeds from IPO net of underwriting discounts and commissions and offering costs Cash, cash equivalents, restricted cash, and investments. Cash, cash equivalents, restricted cash, and investments Cash Cash Equivalents Restricted Cash And Investments Summary of significant accounting policies. Summary of significant accounting policies. Summary Of Significant Accounting Policies [Table] Summary Of Significant Accounting Policies [Table] Accounting Standards Update Adjustments For New Accounting Pronouncements [Axis] Accounting Standards Update Type Of Adoption [Member] Accounting Standards Update 2016-02 Accounting Standards Update201602 [Member] Statistical Measurement Range [Axis] Statistical Measurement Range [Member] Minimum Minimum [Member] Maximum [Member] Maximum [Member] Summary Of Significant Accounting Policies [Line Items] Summary Of Significant Accounting Policies [Line Items] Number of reportable segments Number Of Reportable Segments Number of operating segments Number Of Operating Segments Number of stand-by letters of credit consisted in restricted cash. Number of letters of credit issued to landlord constituting restricted cash Number Of Stand By Letters Of Credit Consisted In Restricted Cash Schedule Of Property Plant And Equipment [Table] Schedule Of Property Plant And Equipment [Table] Long-Lived Tangible Asset Property Plant And Equipment By Type [Axis] Long-Lived Tangible Asset Property Plant And Equipment Type [Domain] Laboratory Equipment Equipment [Member] Computer Equipment Computer Equipment [Member] Furniture and Fixtures Furniture And Fixtures [Member] Leasehold Improvements Leasehold Improvements [Member] Property Plant And Equipment [Line Items] Property Plant And Equipment [Line Items] Useful lives of property and equipment Property Plant And Equipment Useful Life Useful lives of property and equipment Property Plant And Equipment Estimated Useful Lives Impairment of long-lived assets Impairment Of Long Lived Assets To Be Disposed Of Right-of-use asset Lease liabilities Deferred offering costs Deferred Offering Costs Issued nonconvertible debt. Market value of its stock held by non-affiliates. Total annual gross revenues Revenues Issued nonconvertible debt Issued Nonconvertible Debt Market value of its stock held by non-affiliates Market Value Of Its Stock Held By Non Affiliates Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Table] Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Table] Fair Value Hierarchy and NAV Fair Value By Fair Value Hierarchy Level [Axis] Fair Value Hierarchy and NAV Fair Value Measurements Fair Value Hierarchy [Domain] Level 3 Fair Value Inputs Level3 [Member] Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] Financial instruments classified as Level 3 Available For Sale Securities Debt Securities Available For Sale Securities Fair Value To Amortized Cost Basis [Abstract] Debt Securities Available For Sale [Table] Debt Securities Available For Sale [Table] Financial Instrument Financial Instrument [Axis] Financial Instruments Transfers And Servicing Of Financial Instruments Types Of Financial Instruments [Domain] Asset Backed Securities Asset Backed Securities [Member] Investment Type Investment Type [Axis] Investments Investment Type Categorization [Member] Money Market Funds Money Market Funds [Member] Corporate Notes Corporate Note Securities [Member] Commercial Paper Commercial Paper [Member] Level 1 Fair Value Inputs Level1 [Member] Level 2 Fair Value Inputs Level2 [Member] Asset Class Fair Value By Asset Class [Axis] Asset Class Fair Value Assets Measured On Recurring Basis Unobservable Input Reconciliation By Asset Class [Domain] Financial assets included within cash and cash equivalents. Financial Assets Included Within Cash and Cash Equivalents Financial Assets Included Within Cash And Cash Equivalents [Member] Financial assets included within short-term investments. Financial Assets Included Within Short-term Investments Financial Assets Included Within Short Term Investments [Member] Financial assets included within long-term investments. Financial Assets Included Within Long Term Investments Financial Assets Included Within Long Term Investments [Member] Schedule Of Available For Sale Securities [Line Items] Schedule Of Available For Sale Securities [Line Items] Amortized Cost Available For Sale Debt Securities Amortized Cost Basis Gross Unrealized Gains Available For Sale Debt Securities Accumulated Gross Unrealized Gain Before Tax Gross Unrealized Losses Available For Sale Debt Securities Accumulated Gross Unrealized Loss Before Tax Fair Value Investments Investments Property Plant And Equipment Net [Abstract] Computer. Computer Equipment Computer [Member] Construction in Progress Construction In Progress [Member] Total property and equipment, gross Property Plant And Equipment Gross Less: accumulated depreciation Accumulated Depreciation Depletion And Amortization Property Plant And Equipment Total property and equipment, net Depreciation expense Accrued research and development materials and services. Accrued Liabilities Current [Abstract] Accrued research and development materials and services Accrued Research And Development Materials And Services Accrued professional services Accrued Professional Fees Current Accrued personnel expenses Employee Related Liabilities Current Other Other Liabilities Current Total accrued expenses and other current liabilities Dividends declared Dividends Payable Current And Noncurrent Conversion Of Stock [Table] Conversion Of Stock [Table] Stock options issued and outstanding. Stock Options Issued and Outstanding Stock Options Issued And Outstanding [Member] Stock options authorized. Stock Options, Authorized for Future Issuance Stock Options Authorized [Member] Employee stock purchase plan, available for future issuance. Employee Stock Purchase Plan, Available for Future Issuance Employee Stock Purchase Plan Available For Future Issuance [Member] Restricted stock, issued and outstanding. Restricted Stock Issued and Outstanding Restricted Stock Issued And Outstanding [Member] Conversion Of Stock [Line Items] Conversion Of Stock [Line Items] Common Stock, Capital shares reserved for future issuance Common Stock Capital Shares Reserved For Future Issuance Convertible preferred stock, shares issued Convertible preferred stock par value Convertible preferred stock, shares outstanding Original issue price Temporary Equity Liquidation Preference Per Share Carrying value Liquidation preference Conversion of stock, description Conversion Of Stock Description Preferred stock, liquidation preference per share Preferred Stock Liquidation Preference Number of directors elected. Number of directors elected Number Of Directors Elected Schedule Of Share Based Compensation Arrangements By Share Based Payment Award [Table] Schedule Of Share Based Compensation Arrangements By Share Based Payment Award [Table] Award Type Award Type [Axis] Award Type Share Based Compensation Arrangements By Share Based Payment Award Award Type And Plan Name [Domain] Two thousand and twenty equity incentive plan member. 2020 Equity Incentive Plan Two Thousand And Twenty Equity Incentive Plan [Member] Title of Individual Title Of Individual [Axis] Title of Individual Title Of Individual With Relationship To Entity [Domain] employees and non-employees Employees and Non-Employees Employees And Non Employees [Member] Two thousand and twenty one equity incentive plan. 2021 Equity Incentive Plan Two Thousand And Twenty One Equity Incentive Plan [Member] Grantee Status Grantee Status [Axis] Grantee Status Grantee Status [Domain] Grantee owning more than ten percent of voting power. Grantee Owning More Than 10% of Voting Power Grantee Owning More Than Ten Percent Of Voting Power [Member] Subsequent Event Type Subsequent Event Type [Axis] Subsequent Event Type Subsequent Event Type [Domain] Subsequent Event Subsequent Event [Member] Scenario Statement Scenario [Axis] Scenario Scenario Unspecified [Domain] Forecast Scenario Forecast [Member] Two thousand and twenty one employee stock purchase plan. 2021 Employee Stock Purchase Plan Two Thousand And Twenty One Employee Stock Purchase Plan [Member] Stock Options Employee Stock Option [Member] Restricted Stock Restricted Stock [Member] Share Based Compensation Arrangement By Share Based Payment Award [Line Items] Share Based Compensation Arrangement By Share Based Payment Award [Line Items] Reserved shares of common stock to grant stock-based compensation awards Ownership voting power. Option price as percentage of fair market value of common stock on grant date. Share based compensation arrangement by share based payment award vesting description. Options granted expiration period Sharebased Compensation Arrangement By Sharebased Payment Award Expiration Period Ownership (percent) Ownership Voting Power Option price as percentage of fair market value of common stock on the date of grant Option Price As Percentage Of Fair Market Value Of Common Stock On Grant Date Vesting description Share Based Compensation Arrangement By Share Based Payment Award Vesting Description Vesting period Share Based Compensation Arrangement By Share Based Payment Award Award Vesting Period1 Increase in number of shares of common stock available. Share based compensation arrangement by share based payment award percentage of increment with prior year. Share-based compensation arrangement by share-based payment award, percentage of increment based on prior year Share Based Compensation Arrangement By Share Based Payment Award Percentage Of Increment With Prior Year Increase in number of shares of common stock available under evergreen provision Increase In Number Of Shares Of Common Stock Available Increase in number of common shares reserved for future issuance. Discounted percentage for employees and designated affiliates to purchase common stock Share Based Compensation Arrangement By Share Based Payment Award Discount From Market Price Offering Date Increase in number of shares of common stock available under evergreen provision Increase In Number Of Common Stock Capital Shares Reserved For Future Issuance 2020, 2021 and Espp plan. 2020 Plan, 2021 and ESPP Twenty Twenty Twenty Twenty One And E S P P Plan [Member] Income Statement Location Income Statement Location [Axis] Income Statement Location Income Statement Location [Domain] Research and Development Research And Development Expense [Member] General and Administrative General And Administrative Expense [Member] Total stock-based compensation expense Allocated Share Based Compensation Expense Number of Options Outstanding Share Based Compensation Arrangement By Share Based Payment Award Options Outstanding Number Number of Options Outstanding, Granted Share Based Compensation Arrangement By Share Based Payment Award Options Grants In Period Gross Number of Options Outstanding, Exercised Number of Options Outstanding, Cancelled Share Based Compensation Arrangement By Share Based Payment Award Options Forfeitures In Period Number of Options Outstanding Number of Options Outstanding, Options exercisable Share Based Compensation Arrangement By Share Based Payment Award Options Exercisable Number Weighted Average Exercise Price, Beginning Balance Share Based Compensation Arrangement By Share Based Payment Award Options Outstanding Weighted Average Exercise Price Weighted Average Exercise Price, Granted Share Based Compensation Arrangements By Share Based Payment Award Options Grants In Period Weighted Average Exercise Price Weighted Average Exercise Price, Exercised Share Based Compensation Arrangements By Share Based Payment Award Options Exercises In Period Weighted Average Exercise Price Weighted Average Exercise Price, Cancelled Share Based Compensation Arrangements By Share Based Payment Award Options Forfeitures In Period Weighted Average Exercise Price Weighted Average Exercise Price, Ending Balance Weighted Average Exercise Price,Options Exercisable Share Based Compensation Arrangement By Share Based Payment Award Options Exercisable Weighted Average Exercise Price Weighted Average Remaining Contract Term Sharebased Compensation Arrangement By Sharebased Payment Award Options Outstanding Weighted Average Remaining Contractual Term2 Weighted Average Remaining Contract Term,Options Exercisable Sharebased Compensation Arrangement By Sharebased Payment Award Options Exercisable Weighted Average Remaining Contractual Term1 Aggregate Intrinsic Value Share Based Compensation Arrangement By Share Based Payment Award Options Outstanding Intrinsic Value Aggregate Intrinsic Value,Options Exercisable Sharebased Compensation Arrangement By Sharebased Payment Award Options Exercisable Intrinsic Value1 Share Based Compensation Arrangement By Share Based Payment Award Fair Value Assumptions And Methodology [Abstract] Expected term in years Sharebased Compensation Arrangement By Sharebased Payment Award Fair Value Assumptions Expected Term1 Expected volatility Share Based Compensation Arrangement By Share Based Payment Award Fair Value Assumptions Expected Volatility Rate Risk-free interest rate Share Based Compensation Arrangement By Share Based Payment Award Fair Value Assumptions Risk Free Interest Rate Dividend yield Share Based Compensation Arrangement By Share Based Payment Award Fair Value Assumptions Expected Dividend Rate Weighted average fair value of options granted Share Based Compensation Arrangement By Share Based Payment Award Options Grants In Period Weighted Average Grant Date Fair Value Total unrecognized compensation cost related to stock options under the plans Employee Service Share Based Compensation Nonvested Awards Total Compensation Cost Not Yet Recognized Stock Options Unrecognized stock-based compensation cost, weighted-average period Employee Service Share Based Compensation Nonvested Awards Total Compensation Cost Not Yet Recognized Period For Recognition1 Aggregate intrinsic value of options exercised Share Based Compensation Arrangement By Share Based Payment Award Options Exercises In Period Total Intrinsic Value Restricted stock awards granted Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Grants In Period Unvested restricted awards Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Nonvested Number Number of Restricted Stock Awards Number of Restricted Stock Awards, Released Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Vested In Period Number of Restricted Stock Awards, Forfeited Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Forfeited In Period Number of Restricted Stock Awards Weighted-Average Grant Date Fair Value, Beginning Balance Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Nonvested Weighted Average Grant Date Fair Value Weighted-Average Grant Date Fair Value, Granted Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Grants In Period Weighted Average Grant Date Fair Value Weighted-Average Grant Date Fair Value, Released Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Vested In Period Weighted Average Grant Date Fair Value Weighted-Average Grant Date Fair Value, Forfeited Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Forfeitures Weighted Average Grant Date Fair Value Weighted-Average Grant Date Fair Value, Ending Balance Income tax. Income tax. Income Tax [Table] Income Tax [Table] Income Tax Authority Income Tax Authority [Axis] Income Tax Authority Income Tax Authority [Domain] Federal Domestic Country [Member] California Foreign Country [Member] Tax Period Tax Period [Axis] Tax Period Tax Period [Domain] Tax Year 2021 Tax Year2021 [Member] Tax Credit Carryforward Tax Credit Carryforward [Axis] Tax Credit Carryforward, Name Tax Credit Carryforward Name [Domain] Research and Development Tax Credit Carryforwards Research [Member] Income Tax [Line Items] Income Tax [Line Items] Income tax expense Income Tax Expense Benefit Effective income tax rate reconciliation, LLC loss prior to C-Corp conversion. Federal statutory income tax rate Effective Income Tax Rate Reconciliation At Federal Statutory Income Tax Rate State income tax rate Effective Income Tax Rate Reconciliation State And Local Income Taxes Tax credits Effective Income Tax Rate Reconciliation Tax Credits Stock-based compensation Effective Income Tax Rate Reconciliation Share Based Compensation Excess Tax Benefit Percent Amortization Effective Income Tax Rate Reconciliation Nondeductible Expense Amortization LLC loss prior to C-Corp conversion Effective Income Tax Rate Reconciliation L L C Loss Prior To C Corp Conversion Change in valuation allowance Effective Income Tax Rate Reconciliation Change In Deferred Tax Assets Valuation Allowance Other Effective Income Tax Rate Reconciliation Other Adjustments Effective income tax rate Effective Income Tax Rate Continuing Operations Deferred tax assets, operating lease liability. Components Of Deferred Tax Assets And Liabilities [Abstract] Deferred tax assets: Components Of Deferred Tax Assets [Abstract] Net operating loss carryforwards Deferred Tax Assets Operating Loss Carryforwards Accrued liabilities and reserves Deferred Tax Assets Tax Deferred Expense Reserves And Accruals Accrued Liabilities Stock-based compensation Deferred Tax Assets Tax Deferred Expense Compensation And Benefits Share Based Compensation Cost Intangible assets Deferred Tax Assets Goodwill And Intangible Assets Operating lease liabilities Deferred Tax Assets Operating Lease Liability Research and development credits Deferred Tax Assets Tax Credit Carryforwards Research Property and equipment Deferred Tax Assets Property Plant And Equipment Gross deferred tax assets Deferred Tax Assets Gross Valuation allowance Deferred Tax Assets Valuation Allowance Total deferred tax assets Deferred Tax Assets Net Deferred tax liabilities: Components Of Deferred Tax Liabilities [Abstract] Property and equipment Deferred Tax Liabilities Property Plant And Equipment Operating lease right-of-use assets Deferred Tax Liabilities Leasing Arrangements Total deferred tax liabilities Deferred Income Tax Liabilities Net deferred tax assets Deferred Tax Assets Liabilities Net Valuation allowance, deferred tax asset, increase (decrease), amount Valuation Allowance Deferred Tax Asset Change In Amount Tax credit carryforward expiration year. Net operating loss carryforwards available to reduce future taxable income Tax credit carryforward, expiration year Tax Credit Carryforward Expiration Year Operating loss carryforwards, limitations on use Operating Loss Carryforwards Limitations On Use Research and development tax credit carryforwards Tax credit carryforward, description Tax Credit Carryforward Description Reconciliation Of Unrecognized Tax Benefits Excluding Amounts Pertaining To Examined Tax Returns Roll Forward Beginning balance Unrecognized Tax Benefits Increases for tax provisions related to prior year Unrecognized Tax Benefits Increases Resulting From Prior Period Tax Positions Increases for tax provisions related to current year Unrecognized Tax Benefits Increases Resulting From Current Period Tax Positions Ending balance Interest and penalties Unrecognized Tax Benefits Income Tax Penalties And Interest Expense Significant change in unrecognized tax benefits, nature of event Significant Change In Unrecognized Tax Benefits Nature Of Event Income tax examination, description Income Tax Examination Description Lessee, operating lease, lease not yet commenced, monthly lease payments. Lessee, operating lease, lease not yet commenced, expiration period. Commitments and contingencies. Commitments and contingencies. Commitments And Contingencies [Table] Commitments And Contingencies [Table] Geographical Statement Geographical [Axis] Geographical Segment Geographical [Domain] CALIFORNIA CALIFORNIA Counterparty Name Counterparty Name [Axis] Counterparty Name Repurchase Agreement Counterparty Name [Domain] Level Home, Inc. Level Home, Inc. Level Home Inc [Member] Commitments And Contingencies [Line Items] Commitments And Contingencies [Line Items] Operating lease, lease not yet commenced, term of contract Lessee Operating Lease Lease Not Yet Commenced Term Of Contract1 Operating lease, lease not yet commenced, expiration period Lessee Operating Lease Lease Not Yet Commenced Expiration Period Operating lease, lease not yet commenced, monthly lease payments Lessee Operating Lease Lease Not Yet Commenced Monthly Lease Payments Operating lease, liability Operating Lease Liability Amount paid as deposit in connection with sublease included in prepaid expenses and other current assets. Lessee, operating sublease, lease not yet commenced, expiration period. Operating sublease, lease not yet commenced, expiration period Lessee Operating Sublease Lease Not Yet Commenced Expiration Period Amount paid as security deposit in connection with sublease included in prepaid expenses and other current assets Amount Paid As Deposit In Connection With Sublease Included In Prepaid Expenses And Other Current Assets Lessee​ operating ​lease ​lease ​commenced ​term ​of contract. Lessee​ operating ​lease ​lease ​commenced​ expiration ​period. Operating lease, lease commenced, term of contract Lessee Operating Lease Lease Commenced Term Of Contract Operating lease, lease commenced, expiration period Lessee Operating Lease Lease Commenced Expiration Period Operating lease, weighted average discount rate Operating Lease Weighted Average Discount Rate Percent Operating lease, weighted average remaining lease term Operating Lease Weighted Average Remaining Lease Term1 Operating sublease term of contract. Operating sublease, term of contract Operating Sublease Term Of Contract Lease expiration date Lease Expiration Date1 Cash paid for lease liabilities Operating Lease Payments Operating lease expense Operating Lease Expense Operating Lease Liabilities Payments Due [Abstract] 2022 Lessee Operating Lease Liability Payments Due Next Twelve Months 2023 Lessee Operating Lease Liability Payments Due Year Two 2024 Lessee Operating Lease Liability Payments Due Year Three 2025 Lessee Operating Lease Liability Payments Due Year Four 2026 Lessee Operating Lease Liability Payments Due Year Five Thereafter Lessee Operating Lease Liability Payments Due After Year Five Total undiscounted lease payments Lessee Operating Lease Liability Payments Due Less: Present value adjustments Lessee Operating Lease Liability Undiscounted Excess Amount Total operating lease liabilities Numerator: Net Income Loss [Abstract] Net loss Denominator: Weighted Average Number Of Shares Outstanding Diluted Disclosure Items [Abstract] Weighted-average number of shares outstanding, basic and diluted Net loss per share, basic and diluted Schedule Of Antidilutive Securities Excluded From Computation Of Earnings Per Share [Table] Schedule Of Antidilutive Securities Excluded From Computation Of Earnings Per Share [Table] Antidilutive Securities Antidilutive Securities Excluded From Computation Of Earnings Per Share By Antidilutive Securities [Axis] Antidilutive Securities, Name Antidilutive Securities Name [Domain] Estimated Shares Issuable Under the Employee Stock Purchase Plan Employee Stock [Member] Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items] Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items] Anti Dilutive Shares Antidilutive Securities Excluded From Computation Of Earnings Per Share Amount Operating expenses: