<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.20.4</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>188</ContextCount>
  <ElementCount>420</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>59</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>8</UnitCount>
  <MyReports>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0001001 - Document - Cover Page</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/CoverPage</Role>
      <ShortName>Cover Page</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>1001002 - Statement - CONSOLIDATED BALANCE SHEETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/CONSOLIDATEDBALANCESHEETS</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>1002003 - Statement - CONSOLIDATED BALANCE SHEETS (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/CONSOLIDATEDBALANCESHEETSParenthetical</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>1003004 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF OPERATIONS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>1004005 - Statement - CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>1005006 - Statement - CONSOLIDATED STATEMENTS OF CHANGES IN STOCKHOLDERS' EQUITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINSTOCKHOLDERSEQUITY</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CHANGES IN STOCKHOLDERS' EQUITY</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>1006007 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CASH FLOWS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>2101101 - Disclosure - Business Organization and Presentation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/BusinessOrganizationandPresentation</Role>
      <ShortName>Business Organization and Presentation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>2103102 - Disclosure - Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/SummaryofSignificantAccountingPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>2112103 - Disclosure - Marketable Securities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/MarketableSecurities</Role>
      <ShortName>Marketable Securities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>2115104 - Disclosure - Fair Value Measurements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/FairValueMeasurements</Role>
      <ShortName>Fair Value Measurements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>2118105 - Disclosure - Inventory</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/Inventory</Role>
      <ShortName>Inventory</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>2121106 - Disclosure - Property and Equipment</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/PropertyandEquipment</Role>
      <ShortName>Property and Equipment</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>2125107 - Disclosure - Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/Leases</Role>
      <ShortName>Leases</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>2130108 - Disclosure - Intangible Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/IntangibleAssets</Role>
      <ShortName>Intangible Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>2137109 - Disclosure - Accounts Payable and Accrued Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/AccountsPayableandAccruedLiabilities</Role>
      <ShortName>Accounts Payable and Accrued Liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>2140110 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/CommitmentsandContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>2147111 - Disclosure - Public Offering of Common Stock</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/PublicOfferingofCommonStock</Role>
      <ShortName>Public Offering of Common Stock</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>2149112 - Disclosure - Accumulated Other Comprehensive Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/AccumulatedOtherComprehensiveIncome</Role>
      <ShortName>Accumulated Other Comprehensive Income</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>2152113 - Disclosure - Stock-Based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/StockBasedCompensation</Role>
      <ShortName>Stock-Based Compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>2161114 - Disclosure - Employee Benefit Plan</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/EmployeeBenefitPlan</Role>
      <ShortName>Employee Benefit Plan</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>2163115 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/IncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>2172116 - Disclosure - Earnings per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/EarningsperShare</Role>
      <ShortName>Earnings per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>2175117 - Disclosure - Legal Matters</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/LegalMatters</Role>
      <ShortName>Legal Matters</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>2176118 - Disclosure - Quarterly Financial Data (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/QuarterlyFinancialDataUnaudited</Role>
      <ShortName>Quarterly Financial Data (Unaudited)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>2204201 - Disclosure - Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/SummaryofSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.vandapharmaceuticals.com/role/SummaryofSignificantAccountingPolicies</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>2305301 - Disclosure - Summary of Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/SummaryofSignificantAccountingPoliciesTables</Role>
      <ShortName>Summary of Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.vandapharmaceuticals.com/role/SummaryofSignificantAccountingPolicies</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>2313302 - Disclosure - Marketable Securities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/MarketableSecuritiesTables</Role>
      <ShortName>Marketable Securities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.vandapharmaceuticals.com/role/MarketableSecurities</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>2316303 - Disclosure - Fair Value Measurements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/FairValueMeasurementsTables</Role>
      <ShortName>Fair Value Measurements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.vandapharmaceuticals.com/role/FairValueMeasurements</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>2319304 - Disclosure - Inventory (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/InventoryTables</Role>
      <ShortName>Inventory (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.vandapharmaceuticals.com/role/Inventory</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>2322305 - Disclosure - Property and Equipment (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/PropertyandEquipmentTables</Role>
      <ShortName>Property and Equipment (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.vandapharmaceuticals.com/role/PropertyandEquipment</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>2326306 - Disclosure - Leases (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/LeasesTables</Role>
      <ShortName>Leases (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.vandapharmaceuticals.com/role/Leases</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>2331307 - Disclosure - Intangible Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/IntangibleAssetsTables</Role>
      <ShortName>Intangible Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.vandapharmaceuticals.com/role/IntangibleAssets</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>2338308 - Disclosure - Accounts Payable and Accrued Liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/AccountsPayableandAccruedLiabilitiesTables</Role>
      <ShortName>Accounts Payable and Accrued Liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.vandapharmaceuticals.com/role/AccountsPayableandAccruedLiabilities</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>2350309 - Disclosure - Accumulated Other Comprehensive Income (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/AccumulatedOtherComprehensiveIncomeTables</Role>
      <ShortName>Accumulated Other Comprehensive Income (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.vandapharmaceuticals.com/role/AccumulatedOtherComprehensiveIncome</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>2353310 - Disclosure - Stock-Based Compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/StockBasedCompensationTables</Role>
      <ShortName>Stock-Based Compensation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.vandapharmaceuticals.com/role/StockBasedCompensation</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>2364311 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/IncomeTaxesTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.vandapharmaceuticals.com/role/IncomeTaxes</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>2373312 - Disclosure - Earnings per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/EarningsperShareTables</Role>
      <ShortName>Earnings per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.vandapharmaceuticals.com/role/EarningsperShare</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>2377313 - Disclosure - Quarterly Financial Data (Unaudited) (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/QuarterlyFinancialDataUnauditedTables</Role>
      <ShortName>Quarterly Financial Data (Unaudited) (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.vandapharmaceuticals.com/role/QuarterlyFinancialDataUnaudited</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>2402401 - Disclosure - Business Organization and Presentation (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/BusinessOrganizationandPresentationDetail</Role>
      <ShortName>Business Organization and Presentation (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.vandapharmaceuticals.com/role/BusinessOrganizationandPresentation</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>2406402 - Disclosure - Summary of Significant Accounting Policies - Reconciliation Cash, Cash Equivalents and Restricted Cash (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/SummaryofSignificantAccountingPoliciesReconciliationCashCashEquivalentsandRestrictedCashDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Reconciliation Cash, Cash Equivalents and Restricted Cash (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>2407403 - Disclosure - Summary of Significant Accounting Policies - Net Sales by Product (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/SummaryofSignificantAccountingPoliciesNetSalesbyProductDetail</Role>
      <ShortName>Summary of Significant Accounting Policies - Net Sales by Product (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>2408404 - Disclosure - Summary of Significant Accounting Policies - Schedule of Major Customers that Represented More Than 10% of Total Revenues (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/SummaryofSignificantAccountingPoliciesScheduleofMajorCustomersthatRepresentedMoreThan10ofTotalRevenuesDetail</Role>
      <ShortName>Summary of Significant Accounting Policies - Schedule of Major Customers that Represented More Than 10% of Total Revenues (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>2409405 - Disclosure - Summary of Significant Accounting Policies - Schedule of Major Customers that Represented More Than 10% of Accounts Receivable, Net (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/SummaryofSignificantAccountingPoliciesScheduleofMajorCustomersthatRepresentedMoreThan10ofAccountsReceivableNetDetail</Role>
      <ShortName>Summary of Significant Accounting Policies - Schedule of Major Customers that Represented More Than 10% of Accounts Receivable, Net (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>2410406 - Disclosure - Summary of Significant Accounting Policies - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/SummaryofSignificantAccountingPoliciesAdditionalInformationDetail</Role>
      <ShortName>Summary of Significant Accounting Policies - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>2411407 - Disclosure - Summary of Significant Accounting Policies - Summary of Product Return Allowance (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/SummaryofSignificantAccountingPoliciesSummaryofProductReturnAllowanceDetail</Role>
      <ShortName>Summary of Significant Accounting Policies - Summary of Product Return Allowance (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>2414408 - Disclosure - Marketable Securities - Available-For-Sale Marketable Securities (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/MarketableSecuritiesAvailableForSaleMarketableSecuritiesDetail</Role>
      <ShortName>Marketable Securities - Available-For-Sale Marketable Securities (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>2417409 - Disclosure - Fair Value Measurements - Assets Measured at Fair Value on Recurring Basis (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/FairValueMeasurementsAssetsMeasuredatFairValueonRecurringBasisDetail</Role>
      <ShortName>Fair Value Measurements - Assets Measured at Fair Value on Recurring Basis (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>2420410 - Disclosure - Inventory (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/InventoryDetail</Role>
      <ShortName>Inventory (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.vandapharmaceuticals.com/role/InventoryTables</ParentRole>
      <Position>49</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>2423411 - Disclosure - Property and Equipment - Property and Equipment-at Cost (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/PropertyandEquipmentPropertyandEquipmentatCostDetail</Role>
      <ShortName>Property and Equipment - Property and Equipment-at Cost (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>2424412 - Disclosure - Property and Equipment - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/PropertyandEquipmentAdditionalInformationDetail</Role>
      <ShortName>Property and Equipment - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>2427413 - Disclosure - Leases - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/LeasesAdditionalInformationDetails</Role>
      <ShortName>Leases - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>2428414 - Disclosure - Leases - Lease Assets and Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/LeasesLeaseAssetsandLiabilitiesDetails</Role>
      <ShortName>Leases - Lease Assets and Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>2429415 - Disclosure - Leases - Maturities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/LeasesMaturitiesDetails</Role>
      <ShortName>Leases - Maturities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>2432416 - Disclosure - Intangible Assets - HETLIOZ - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/IntangibleAssetsHETLIOZAdditionalInformationDetail</Role>
      <ShortName>Intangible Assets - HETLIOZ - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>2433417 - Disclosure - Intangible Assets - Fanapt - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/IntangibleAssetsFanaptAdditionalInformationDetail</Role>
      <ShortName>Intangible Assets - Fanapt - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>2434418 - Disclosure - Intangible Assets - Summary of Intangible Assets (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/IntangibleAssetsSummaryofIntangibleAssetsDetail</Role>
      <ShortName>Intangible Assets - Summary of Intangible Assets (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>2435419 - Disclosure - Intangible Assets - Summary of Amortization Expense (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/IntangibleAssetsSummaryofAmortizationExpenseDetail</Role>
      <ShortName>Intangible Assets - Summary of Amortization Expense (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>2436420 - Disclosure - Intangible Assets - Summary of Future Intangible Asset Amortization (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/IntangibleAssetsSummaryofFutureIntangibleAssetAmortizationDetail</Role>
      <ShortName>Intangible Assets - Summary of Future Intangible Asset Amortization (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>2439421 - Disclosure - Accounts Payable and Accrued Liabilities (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/AccountsPayableandAccruedLiabilitiesDetail</Role>
      <ShortName>Accounts Payable and Accrued Liabilities (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.vandapharmaceuticals.com/role/AccountsPayableandAccruedLiabilitiesTables</ParentRole>
      <Position>60</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>2441422 - Disclosure - Commitments and Contingencies - HETLIOZ - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/CommitmentsandContingenciesHETLIOZAdditionalInformationDetail</Role>
      <ShortName>Commitments and Contingencies - HETLIOZ - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>2442423 - Disclosure - Commitments and Contingencies - Fanapt - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/CommitmentsandContingenciesFanaptAdditionalInformationDetail</Role>
      <ShortName>Commitments and Contingencies - Fanapt - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>2443424 - Disclosure - Commitments and Contingencies - Tradipitant - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/CommitmentsandContingenciesTradipitantAdditionalInformationDetail</Role>
      <ShortName>Commitments and Contingencies - Tradipitant - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>2444425 - Disclosure - Commitments and Contingencies - CFTR Activators and Inhibitors - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/CommitmentsandContingenciesCFTRActivatorsandInhibitorsAdditionalInformationDetail</Role>
      <ShortName>Commitments and Contingencies - CFTR Activators and Inhibitors - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>2445426 - Disclosure - Commitments and Contingencies - VQW-765 - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/CommitmentsandContingenciesVQW765AdditionalInformationDetails</Role>
      <ShortName>Commitments and Contingencies - VQW-765 - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>2446427 - Disclosure - Commitments and Contingencies - Purchase Commitments (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/CommitmentsandContingenciesPurchaseCommitmentsDetail</Role>
      <ShortName>Commitments and Contingencies - Purchase Commitments (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>2448428 - Disclosure - Public Offering of Common Stock (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/PublicOfferingofCommonStockDetails</Role>
      <ShortName>Public Offering of Common Stock (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.vandapharmaceuticals.com/role/PublicOfferingofCommonStock</ParentRole>
      <Position>67</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>2451429 - Disclosure - Accumulated Other Comprehensive Income - Summary of Accumulated Balances Related to Each Component of Other Comprehensive Income (Loss) (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/AccumulatedOtherComprehensiveIncomeSummaryofAccumulatedBalancesRelatedtoEachComponentofOtherComprehensiveIncomeLossDetail</Role>
      <ShortName>Accumulated Other Comprehensive Income - Summary of Accumulated Balances Related to Each Component of Other Comprehensive Income (Loss) (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>2454430 - Disclosure - Stock-Based Compensation - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/StockBasedCompensationAdditionalInformationDetail</Role>
      <ShortName>Stock-Based Compensation - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>2455431 - Disclosure - Stock-Based Compensation - Stock Option - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/StockBasedCompensationStockOptionAdditionalInformationDetail</Role>
      <ShortName>Stock-Based Compensation - Stock Option - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>2456432 - Disclosure - Stock-Based Compensation - RSU - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/StockBasedCompensationRSUAdditionalInformationDetail</Role>
      <ShortName>Stock-Based Compensation - RSU - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>2457433 - Disclosure - Stock-Based Compensation - Summary of Option Activity (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/StockBasedCompensationSummaryofOptionActivityDetail</Role>
      <ShortName>Stock-Based Compensation - Summary of Option Activity (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>2458434 - Disclosure - Stock-Based Compensation - Summary of RSU Activity Plan (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/StockBasedCompensationSummaryofRSUActivityPlanDetail</Role>
      <ShortName>Stock-Based Compensation - Summary of RSU Activity Plan (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>2459435 - Disclosure - Stock-Based Compensation - Total Stock-Based Compensation Expense (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/StockBasedCompensationTotalStockBasedCompensationExpenseDetail</Role>
      <ShortName>Stock-Based Compensation - Total Stock-Based Compensation Expense (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>2460436 - Disclosure - Stock-Based Compensation - Black-Scholes-Merton Option Pricing Model for Stock Options Granted (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/StockBasedCompensationBlackScholesMertonOptionPricingModelforStockOptionsGrantedDetail</Role>
      <ShortName>Stock-Based Compensation - Black-Scholes-Merton Option Pricing Model for Stock Options Granted (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>2462437 - Disclosure - Employee Benefit Plan (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/EmployeeBenefitPlanDetail</Role>
      <ShortName>Employee Benefit Plan (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.vandapharmaceuticals.com/role/EmployeeBenefitPlan</ParentRole>
      <Position>76</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>2465438 - Disclosure - Income Taxes - Summary of Domestic and Foreign Components of Income Before Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/IncomeTaxesSummaryofDomesticandForeignComponentsofIncomeBeforeIncomeTaxesDetails</Role>
      <ShortName>Income Taxes - Summary of Domestic and Foreign Components of Income Before Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>2466439 - Disclosure - Income Taxes - Summary of Provision (Benefit) for Income Taxes (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/IncomeTaxesSummaryofProvisionBenefitforIncomeTaxesDetail</Role>
      <ShortName>Income Taxes - Summary of Provision (Benefit) for Income Taxes (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>2467440 - Disclosure - Income Taxes - Reconciliation Between Statutory Tax Rate and Effective Tax Rate (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/IncomeTaxesReconciliationBetweenStatutoryTaxRateandEffectiveTaxRateDetail</Role>
      <ShortName>Income Taxes - Reconciliation Between Statutory Tax Rate and Effective Tax Rate (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>2468441 - Disclosure - Income Taxes - Components of Net Deferred Tax Assets and Related Valuation Allowance (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/IncomeTaxesComponentsofNetDeferredTaxAssetsandRelatedValuationAllowanceDetail</Role>
      <ShortName>Income Taxes - Components of Net Deferred Tax Assets and Related Valuation Allowance (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>80</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>2469442 - Disclosure - Income Taxes - Valuation Allowance Activity on Deferred Tax Assets (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/IncomeTaxesValuationAllowanceActivityonDeferredTaxAssetsDetail</Role>
      <ShortName>Income Taxes - Valuation Allowance Activity on Deferred Tax Assets (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>2470443 - Disclosure - Income Taxes - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/IncomeTaxesAdditionalInformationDetail</Role>
      <ShortName>Income Taxes - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>82</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>2471444 - Disclosure - Income Taxes - Summary of Gross Unrecognized Income Tax Benefits (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/IncomeTaxesSummaryofGrossUnrecognizedIncomeTaxBenefitsDetails</Role>
      <ShortName>Income Taxes - Summary of Gross Unrecognized Income Tax Benefits (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>83</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>2474445 - Disclosure - Earnings per Share (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/EarningsperShareDetail</Role>
      <ShortName>Earnings per Share (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.vandapharmaceuticals.com/role/EarningsperShareTables</ParentRole>
      <Position>84</Position>
    </Report>
    <Report instance="vnda-20201231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>2478446 - Disclosure - Quarterly Financial Data (Unaudited) (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.vandapharmaceuticals.com/role/QuarterlyFinancialDataUnauditedDetail</Role>
      <ShortName>Quarterly Financial Data (Unaudited) (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.vandapharmaceuticals.com/role/QuarterlyFinancialDataUnauditedTables</ParentRole>
      <Position>85</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="10-K" original="vnda-20201231.htm">vnda-20201231.htm</File>
    <File>vnda-20201231.xsd</File>
    <File>vnda-20201231_cal.xml</File>
    <File>vnda-20201231_def.xml</File>
    <File>vnda-20201231_lab.xml</File>
    <File>vnda-20201231_pre.xml</File>
    <File>vnda12312020ex211.htm</File>
    <File>vnda12312020ex231.htm</File>
    <File>vnda12312020ex311.htm</File>
    <File>vnda12312020ex312.htm</File>
    <File>vnda12312020ex321.htm</File>
    <File>vndaex104012312020.htm</File>
    <File>vndaex104112312020.htm</File>
  </InputFiles>
  <SupplementalFiles>
    <File>vnda-20201231_g1.gif</File>
    <File>vnda-20201231_g2.jpg</File>
    <File>vnda-20201231_g3.gif</File>
    <File>vnda-20201231_g4.jpg</File>
    <File>vnda-20201231_g5.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy>http://fasb.org/srt/2019-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/country/2017-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/stpr/2018-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/dei/2020-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/us-gaap/2019-01-31</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
