Summary of Significant Accounting Policies | 2. Summary of Significant Accounting Policies Basis of Presentation These consolidated financial statements have been prepared in accordance with accounting principles generally accepted in the United States of America (“U.S. GAAP”). The Company operates and controls all of the business and affairs of Rani LLC and, through Rani LLC and its subsidiary, conducts its business. Because the Company manages and operates the business and controls the strategic decisions and day-to-day operations of Rani LLC and also has a substantial financial interest in Rani LLC, the Company consolidates the financial results of Rani LLC, and a portion of its net loss is allocated to the non-controlling interests in Rani LLC held by the Continuing LLC Owners. All intercompany accounts and transactions have been eliminated in consolidation. The Organizational Transactions were considered transactions between entities under common control. As a result, the consolidated financial statements for periods prior to the IPO and the Organizational Transactions have been adjusted to combine the previously separate entities for presentation purposes. Variable Interest Entities The Company consolidates all entities that it controls through a majority voting interest or as the primary beneficiary of a variable interest entity (“VIE”). In determining whether the Company is the primary beneficiary of an entity, the Company applies a qualitative approach that determines whether it has both (1) the power to direct the economically significant activities of the entity and (2) the obligation to absorb losses of, or the right to receive benefits from, the entity that could potentially be significant to that entity. The Company’s determination about whether it should consolidate such VIEs is made continuously as changes to existing relationships or future transactions may result in a consolidation event. Use of Estimates The preparation of the consolidated financial statements in conformity with U.S. GAAP requires management to make estimates and assumptions that affect the reported amounts of assets, liabilities, revenue and expenses and the disclosure of contingent assets and liabilities in the Company’s consolidated financial statements and accompanying notes. These estimates and assumptions are based on current facts, historical experience and various other factors believed to be reasonable under the circumstances, the results of which form the basis for making judgments about the carrying values of assets and liabilities and the recording of expenses that are not readily apparent from other sources. Estimates include, but are not limited to, revenue recognition, equity-based compensation expense, accrued research and development costs and, until the occurrence of the Company's IPO, the fair value of Profits Interests and preferred unit warrants. Actual results may differ materially and adversely from these estimates. Revenue Recognition The Company enters into evaluation arrangements with certain pharmaceutical partners, under which the Company performs evaluation services of the partner’s drug molecules using the RaniPill capsule. Revenue is recognized when control of promised goods or services is transferred to a customer in an amount that reflects the consideration to which the entity expects to be entitled in exchange for those goods or services. To determine revenue recognition for its arrangements with customers, the Company performs the following five steps: (i) identify the contract(s) with a customer; (ii) identify the performance obligations in the contract; (iii) determine the transaction price; (iv) allocate the transaction price to the performance obligations in the contract; and (v) recognize revenue when (or as) the entity satisfies a performance obligation. Revenue for an individual contract is recognized at the related transaction price, which is the amount the Company expects to be entitled to in exchange for transferring these services. The terms of the evaluation services agreements usually include payments for evaluation services and evaluation milestones based on a decision to extend the agreement. The transaction price of the evaluation services contracts may include variable consideration. Application of the constraint for variable consideration requires judgment. The constraint for variable consideration is applied such that it is probable a significant reversal of revenue will not occur when the uncertainty associated with the contingency is resolved. Application of the constraint for variable consideration is updated at each reporting period as a revision to the estimated transaction price. For arrangements where the anticipated period between timing of transfer of services and the timing of payment is one year or less, the Company has elected to not assess whether a significant financing component exists. The Company recognizes evaluation services revenue over the period in which evaluation services are provided. Specifically, the Company recognizes revenue using an output method to measure progress, using samples processed relative to total expected samples to be processed as its measure of progress. For services under these arrangements, costs incurred are included in research and development expenses in the Company’s consolidated statements of operations and comprehensive loss. Customer options, such as options granted to allow a customer to acquire later stage evaluation services, are evaluated at contract inception in order to determine whether those options provide a material right (i.e., an optional good or service offered for free or at a discount) to the customer. If the customer options represent a material right, the material right is treated as a separate performance obligation at the outset of the arrangement. The Company allocates the transaction price to material rights based on the standalone selling price, and revenue is recognized when or as the future goods or services are transferred or when the option expires. Customer options that are not material rights do not give rise to a separate performance obligation, and as such, the additional consideration that would result from a customer exercising an option in the future is not included in the transaction price for the current contract. Instead, the option is deemed a marketing offer, and additional option fee payments are recognized or being recognized as revenue when the licensee exercises the option. The exercise of an option that does not represent a material right is treated as a separate contract for accounting purposes. Revenue is recognized for each distinct performance obligation as control is transferred to the customer. The Company recognizes revenue from its evaluation services over time as services are delivered, using a cost-based input method of revenue recognition over the contract term. The cost-based input measured is based on an estimate of total costs to be incurred to deliver the services over the contract period compared to costs incurred to date for each contract. The Company’s evaluation of estimated costs to perform the services typically includes estimates for effort related to contracted research, formulation, and animal testing. These estimates are based on the Company’s reasonable assumptions and its historical experience. Actual results may differ materially and adversely from these estimates. Incremental costs of obtaining contracts are expensed when incurred when the amortization period of the assets that otherwise would have been recognized is one year or less. To date, none of these costs have been material. The costs to fulfill the contracts are determined to be immaterial and are recognized as an expense when incurred. Contract assets are generated when contractual billing schedules differ from revenue recognition timing and the Company records a contract receivable when it has an unconditional right to consideration. No contract assets balance was recorded as of December 31, 2021 or December 31, 2020. Contract liabilities are recorded as deferred revenue when cash payments are received or due in advance of performance or where the Company has unsatisfied performance obligations. As of December 31, 2020 , the Company had deferred revenue of $ 2.7 million. There was no deferred revenue as of December 31, 2021 . Concentrations of Credit Risk and Other Risks and Uncertainties Financial instruments that potentially subject the Company to concentrations of credit risk consist primarily of cash and cash equivalents. The Company maintains accounts in federally insured financial institutions in excess of federally insured limits. The Company also holds money market funds that are not federally insured. However, management believes the Company is not exposed to significant credit risk due to the financial strength of the depository institutions in which these deposits are held and of the money market funds and other entities in which these investments are made. In December 2019, a novel strain of coronavirus, which causes the disease known as COVID-19, was reported to have surfaced in Wuhan, China. Since then, COVID-19 coronavirus has spread globally. In March 2020, the World Health Organization declared the COVID-19 outbreak a pandemic. The COVID-19 pandemic has impacted and may continue to impact the Company’s third-party manufacturers and suppliers, which could disrupt its supply chain or the availability or cost of materials. The effects of the public health directives and the Company’s work-from-home policies may negatively impact productivity, disrupt its business, and delay clinical programs and timelines and future clinical trials, the magnitude of which will depend, in part, on the length and severity of the restrictions and other limitations on the Company’s ability to conduct business in the ordinary course. These and similar, and perhaps more severe, disruptions in the Company’s operations could negatively impact business, results of operations and financial condition, including its ability to obtain financing. To date, the Company has not incurred impairment losses in the carrying values of its assets as a result of the pandemic and is not aware of any specific related event or circumstances that would require the Company to revise its estimates reflected in these consolidated financial statements. The Company cannot be certain what the overall impact of the COVID-19 pandemic will be on its business and prospects. The extent to which the COVID-19 pandemic will further directly or indirectly impact its business, results of operations, financial condition, and liquidity, including planned and future clinical trials and research and development costs, will depend on future developments that are highly uncertain, including as a result of new information that may emerge concerning COVID-19, the actions taken to contain or treat it, and the duration and intensity of the related effects. In addition, the Company could see some limitations on employee resources that would otherwise be focused on its operation, including but not limited to sickness of employees or their families, the desire of employees to avoid contact with large groups of people, and increased reliance on working from home. If the financial markets and/or the overall economy are impacted for an extended period, the Company’s business, financial condition, results of operations and prospects may be adversely affected. Cash and Cash Equivalents The Company considers all cash held on deposit and highly liquid investments purchased with original or remaining maturities of less than three months at the date of purchase to be cash equivalents. Cash equivalents are carried at cost, which approximates fair value. The Company’s cash and cash equivalents consist of balances held in demand depositary accounts and money market funds. The Company limits its credit risk associated with cash and cash equivalents by maintaining its bank accounts at major financial institutions. Fair Value of Financial Instruments Fair value is defined as the exchange price that would be received for an asset or paid to transfer a liability (an exit price) in the principal or most advantageous market for the asset or liability in an orderly transaction between market participants on the measurement date. Valuation techniques used to measure fair value must maximize the use of observable inputs and minimize the use of unobservable inputs. Financial assets and liabilities carried at fair value are to be classified and disclosed in one of the following three levels of the fair value hierarchy, of which the first two are considered observable and the last is considered unobservable: Level 1—Quoted prices in active markets for identical assets or liabilities. Level 2—Observable inputs (other than Level 1 quoted prices), such as quoted prices in active markets for similar assets or liabilities, quoted prices in markets that are not active for identical or similar assets or liabilities, or other inputs that are observable or can be corroborated by observable market data. Level 3—Unobservable inputs that are supported by little or no market activity and that are significant to determining the fair value of the assets or liabilities, including pricing models, discounted cash flow methodologies and similar techniques. The carrying values of the Company’s cash equivalents, prepaid expenses, accounts payable, and accruals approximate their fair value due to their short-term nature. The fair value of the Company’s long-term debt approximated its carrying value based on borrowing rates currently available to the Company for debt with similar terms and maturities (Level 2 inputs). To the extent that the valuation is based on models or inputs that are less observable or unobservable in the market, the determination of fair value requires more judgment. Accordingly, the degree of judgement exercised by the Company in determining fair value is greatest for instruments categorized in Level 3 (Note 3). A financial instrument’s level within the fair value hierarchy is based on the lowest level of any input that is significant to the fair value of the instrument. Research and Development Costs Research and development costs are expensed as incurred. Research and development expenses consist primarily of contract research fees and process development, outsourced labor and related expenses for personnel, facilities cost, fees paid to consultants and advisors, depreciation and supplies used in research and development and costs incurred under the Company's evaluation agreements. Payments made prior to the receipt of goods or services to be used in research and development activities are recorded as prepaid expenses until the related goods or services are received. Until future commercialization is considered probable and the future economic benefit is expected to be realized, the Company does not capitalize pre-launch inventory costs. Costs of property and equipment related to scaling-up of the manufacturing capacity for clinical trials and to support commercialization are capitalized as property and equipment unless the related asset does not have an alternative future use. Clinical and preclinical costs are a component of research and development expense. The Company accrues and expenses clinical and pre-clinical trial activities performed by third parties based upon actual work completed in accordance with agreements established with its service providers. The Company determines the actual costs through discussions with internal personnel and external service providers as to the progress or stage of completion of services and the agreed-upon fee to be paid for such services. Equity-Based Compensation Stock-Based Compensation In July 2021, the Company adopted and its stockholders approved, the Rani Therapeutics Holdings, Inc. 2021 Equity Incentive Plan (the “2021 Plan”). The Company has subsequently granted stock options to purchase shares of its Class A common stock as well as restricted stock units (“RSUs”) and restricted stock awards ("RSAs") from the 2021 Plan to both employees and non-employees. The Company measures stock-based compensation at fair value on the grant date of the award. The fair value of employee and nonemployee RSUs is determined based on the number of shares granted and the closing market price of the Company’s Class A common stock on the date of grant. The fair value of employee RSAs is determined based on the estimated fair value of the Company’s Class A common stock on the grant date and is subject to the Company's reacquisition right which is accounted for as a forfeiture provision (Note 9). For awards that vest subject to the satisfaction of service requirements, compensation expense is measured based on the fair value of the award on the date of grant and expense is recognized on a straight-line basis over the requisite service period. The Company accounts for forfeitures as they occur. Stock-based compensation is classified in the accompanying consolidated statements of operations and comprehensive loss based on the function to which the related services are provided. The Company determines the grant-date fair value of options to purchase common shares using the Black-Scholes option-pricing model which requires inputs based on certain subjective assumptions, including the expected stock price volatility, the expected term of the option, the risk-free interest rate for a period that approximates the expected term of the option, and the Company’s expected dividend yield . Such assumptions represent management’s best estimates and involve inherent uncertainties and the application of management’s judgment. If actual results are not consistent with the Company’s assumptions and judgments used in making these estimates, the Company may be required to increase or decrease compensation expense, which could be material to the Company’s consolidated results of operations. Unit-Based Compensation Prior to the IPO, Rani LLC had granted equity-based awards to employees, members of the Board of Managers and nonemployees, including ICL employees and consultants, in the form of non-vested incentive units (“Profits Interests”) and/or options to purchase common units. All awards of Profits Interests and options to purchase common units were measured based on the estimated fair value of the award on the date of grant. Forfeitures were recognized when they occurred. All of the Profits Interests were subject to service and performance-based conditions and the Company evaluated the probability of achieving each performance-based condition at each reporting date and recognized equity-based compensation expense for employee and consultant awards and distributions of equity for ICL employee awards in the consolidated financial statements when it was deemed probable that the performance-based condition would be met using the accelerated attribution method over the requisite service period. The options to purchase common units were subject to service conditions and generally vested over three or four years. The Company utilized estimates and assumptions in determining the fair value of its Profits Interests and options to purchase common units on the date of grant. The Company utilized various valuation methodologies in accordance with the framework of the American Institute of Certified Public Accountants Technical Practice Aid, Valuation of Privately Held Company Equity Securities Issued as Compensation , to estimate the fair value of its preferred units, common units and Profits Interests. Each valuation methodology includes estimates and assumptions that require the Company’s judgment. These estimates and assumptions include several objective and subjective factors, including probability weighting of events, volatility, time to an exit event, a risk-free interest rate, the prices at which Rani LLC sold preferred units, the superior rights, and preferences of the preferred units senior to Rani LLC’s common units at the time, and a discount for the lack of marketability. Changes to the key assumptions used in the valuations could result in different fair values at each valuation date. Income Taxes The Company is the managing member of Rani LLC and, as a result, consolidates the financial results of Rani LLC and its taxable subsidiary RMS in the consolidated financial statements. Rani LLC is a pass-through entity for United States federal and most applicable state and local income tax purposes following the IPO and Organizational Transactions. As an entity classified as a partnership for tax purposes, Rani LLC is not subject to United States federal and certain state and local income taxes. Any taxable income or loss generated by Rani LLC is passed through to, and included in the taxable income or loss of, its members, including the Company. The Company is taxed as a corporation and pays corporate federal, state and local taxes with respect to income allocated to the it, based on the its economic interest in Rani LLC. The Company's tax provision also includes the activity of RMS, which is taxed as a corporation for United States federal and state income tax purposes. The Company accounts for income taxes under the asset and liability method of accounting. Current income tax expense or benefit represents the amount of income taxes expected to be payable or refundable for the current year. The Company recognizes deferred tax assets and liabilities for the future tax consequences attributable to differences between the financial statement carrying amounts of existing assets and liabilities and their respective tax bases, as well as for operating loss and tax credit carryforwards. The Company measures deferred tax assets and liabilities using enacted tax rates expected to apply to taxable income in the years in which the Company expects to recover or settle those temporary differences. The Company recognizes the effect of a change in tax rates on deferred tax assets and liabilities in the results of operations in the period that includes the enactment date. The Company reduces the measurement of a deferred tax asset, if necessary, by a valuation allowance if it is more likely than not that the Company will not realize some or all of the deferred tax asset. The Company’s tax positions are subject to income tax audits. The Company uses a recognition threshold and measurement attribute for the consolidated financial statement recognition and measurement of a tax position taken or expected to be taken in a tax return. A tax position is recognized when it is more likely than not that the tax position will be sustained upon examination, including the resolution of any related appeals or litigation. A tax position that meets the more-likely-than-not recognition threshold is measured at the largest amount of benefit that is greater than a 50% likelihood of being realized upon ultimate settlement with a taxing authority. Interest and penalties related to unrecognized tax benefits are recognized in income tax expense in the accompanying consolidated statements of operations and comprehensive loss. No such interest and penalties were recognized for any period presented. In March 2020, the United States enacted the Families First Coronavirus Response Act (“FFCR Act”) and Coronavirus Aid, Relief and Economic Security Act (the "CARES Act"). The CARES Act is an emergency economic stimulus package that includes spending and tax breaks to strengthen the United States economy and fund a nationwide effort to curtail the effect of COVID-19. While the CARES Act provides sweeping tax changes in response to the COVID-19 pandemic, there was no material impact from the related income tax provisions on the Company's consolidated financial statements for each of the years ended December 31, 2021 and 2020. In December 2020, the United States enacted the Consolidated Appropriations Act, 2021 (the "Appropriations Act"). Included in the tax provisions are a number of items directly related to COVID-19 relief such as a provision allowing recipients of PPP loans to deduct associated costs and an extension and significant expansion of the employee retention credit originally enacted in the CARES Act. There was no material impact from the provisions of the Appropriations Act in 2020. With respect to PPP loan, while the expenses are deductible for United States income tax purposes, they are not currently deductible for California income tax purposes as of the date of the financial statements. In June 2020, the state of California enacted Assembly Bill No. 85 (“AB 85”) suspending California net operating loss utilization and imposing a cap on the amount of business incentive tax credits companies can utilize, effective for tax years 2020, 2021 and 2022. There was no material impact from the provisions of AB 85 on the Company's consolidated financial statements for each of the years ended December 31, 2021 and 2020. In March 2021, the American Rescue Plan (“H.R. 1319”) was signed into law. This legislation extends and enhances a number of current-law tax incentives for businesses, but also expands the definition of a “covered employee” as defined by Section 162(m)(1) of the Internal Revenue Code. There was no material impact from the provisions of H.R. 1319 on the Company's consolidated financial statements for the year ended December 31, 2021 . Tax Receivable Agreement In August 2021, in connection with the IPO and Organizational Transactions, the Company entered into a tax receivable agreement ("TRA") with certain of the Continuing LLC Owners. The TRA provides that the Company pay to such Continuing LLC Owners, 85 % of the amount of tax benefits, if any, it is deemed to realize (calculated using certain assumptions) as a result of (i) increases in the tax basis of assets of Rani LLC resulting from (a) any future redemptions or exchanges of Paired Interests and (b) payments under the TRA and (ii) certain other benefits arising from payments under the TRA (collectively the “Tax Attributes”). A liability for the payable to parties subject to the TRA, and a reduction to stockholders’ equity, is accrued when (i) an exchange of a Paired Interest has occurred and (ii) when it is deemed probable that the Tax Attributes associated with the exchange will be used to reduce the Company’s taxable income based on the contractual percentage of the benefit of Tax Attributes that the Company expects to receive over a period of time. No exchanges of Paired Interests had occurred through December 31, 2021 and therefore no liability had been incurred for the TRA. Comprehensive Loss Comprehensive loss is defined as a change in equity of a business enterprise during a period, resulting from transactions and other events and/or circumstances from non-owner sources. The Company did not have any other comprehensive loss for any of the periods presented, and therefore comprehensive loss was the same as the Company’s net loss. Non-Controlling Interest Non-controlling interest ("NCI") represents the portion of income or loss, net assets and comprehensive loss of Rani LLC that is not allocable to the Company based on the Company's percentage of ownership of Rani LLC. In August 2021, based on the Organizational Transactions, the Company became the sole managing member of Rani LLC. As of December 31, 2021 , the Company held approximately 39 % of the Class A Units of Rani LLC, and approximately 61 % of the outstanding Class A Units of Rani LLC are held by the Continuing LLC Owners. Therefore, the Company reports NCI based on the Class A Units of Rani LLC held by the Continuing LLC Owners on its consolidated balance sheet as of December 31, 2021. Income or loss attributed to the NCI in Rani LLC is based on the Class A Units outstanding during the period for which the income or loss is generated and is presented on the consolidated statements of operations and comprehensive income or loss. Future exchanges of Paired Interests and certain Class A Units of Rani LLC without corresponding shares of the Company’s Class B common stock will result in a change in ownership and reduce or increase the amount recorded as NCI and increase or decrease additional paid-in-capital when Rani LLC has positive or negative net assets, respectively. From the date of the Organizational Transactions to December 31, 2021 , there were no exchanges of Paired Interests nor certain Class A Units of Rani LLC without corresponding shares of Company's Class B common stock. Property and Equipment, Net Property and equipment, net are stated at cost, less accumulated depreciation and amortization calculated using the straight-line method over the estimated useful lives of the assets, generally between three and five years. Leasehold improvements are amortized over the shorter of the related lease term or useful life. Maintenance and repairs are charged to operations when incurred, while betterments or renewals are capitalized. When property and equipment are sold or otherwise disposed of, the asset account and related accumulated depreciation and amortization accounts are relieved, and any gain or loss is included in the results of operations. Construction-in-progress consists of production equipment that will be used to scale-up the manufacturing of the RaniPill capsule for clinical trials and that has been determined to have an alternative future use. Construction-in-progress is stated at cost and does not begin to depreciate until it is put into production. Impairment of Long-Lived Assets The Company reviews the carrying amounts of its long-lived assets for impairment whenever events or changes in circumstances indicate that the carrying amount of an asset (or asset group) may not be recoverable. If indicators of impairment exist, an impairment loss would be recognized when the estimated undiscounted future cash flows expected to result from the use of the asset and its eventual disposition are less than its carrying amount. The impairment charge is determined based upon the excess of the carrying value of the asset over its estimated fair value, with estimated fair value determined based upon an estimate of discounted future cash flows or other appropriate measures of estimated fair value. Management believes that no revision to the remaining useful lives or write-down of long-lived assets is required as of and for the year ended December 31, 2021 . Related Party Note Receivable The principal balance on the related party note receivable is recorded on the consolidated balance sheet along with earned and not yet received interest income. The principal balance is classified on the consolidated balance sheet based upon the expected timing of the repayments by the related party. Interest income received and receivable on the related party note receivable is recorded as a component of interest income in the consolidated statement of operations and comprehensive loss. Associated interest earned is recognized using the effective interest method. The estimated fair value of the Company’s related party note receivable at December 31, 2020, approximated its carrying value due to its short-term nature. In March 2021, the related party repaid in full the $ 1.7 million of principal and interest related to the note receivable. Convertible Preferred Units The Company records convertible preferred units at fair value on the dates of issuance, net of issuance costs. The Company has classified convertible preferred units as temporary equity in the accompanying consolidated balance sheets due to terms that allow for redemption of the units in cash upon certain change in control events that are not within the Company’s control, including the sale or transfer of the Company. The carrying values of the convertible preferred units are adjusted to their liquidation preferences if and when it becomes probable that such a liquidation even will occur. The Company did not accrete the value of the convertible preferred units to their redemption values since a liquidation event was not considered probable. The Company also evaluates the features of its convertible preferred units to determine if the features require bifurcation from the underlying units, by evaluating if they are clearly and closely related to the underlying units and if they do, or do not, meet the definition of a derivative. Preferred Unit Warrant Liability Outstanding warrants to purchase preferred units of the Company were classified as liabilities in the accompanying consolidated balance sheets due to a contingent redemption right of the holder of the preferred unit warrants that is |