XML 50 R40.htm IDEA: XBRL DOCUMENT
v3.22.4

Investments - Cost, Gross Unrealized Gains and Losses, and Fair Value of Investments (Details) - USD ($) $ in Thousands | Dec. 31, 2022 | Mar. 31, 2022 | Dec. 31, 2021
--- | --- | --- | ---
Debt Securities, Available-for-sale [Line Items] |  |  |
Gross Unrealized Gains | $ 10 | $ 0 |
Gross Unrealized Losses | (25,125) | (20,494) |
Fair Value | 680,966 |  |
Cost or Amortized Cost, money market funds | 136,454 | 112,809 |
Cost or Amortized Cost, cash equivalents and marketable securities | 712,661 | 728,556 |
Fair Value, cash equivalents and marketable securities | 687,546 | 708,062 |
Cash and Cash Equivalents |  |  |
Debt Securities, Available-for-sale [Line Items] |  |  |
Gross Unrealized Gains | 0 | 0 |
Gross Unrealized Losses | (4) | 0 |
Fair Value | 23,035 |  |
Cost or Amortized Cost, cash equivalents and marketable securities | 23,039 | 22,758 |
Fair Value, cash equivalents and marketable securities |  | 22,758 |
Marketable Securities |  |  |
Debt Securities, Available-for-sale [Line Items] |  |  |
Cost or Amortized Cost | 689,622 | 705,798 |
Gross Unrealized Gains | 10 | 0 |
Gross Unrealized Losses | (25,121) | (20,494) | $ (5,400)
Fair Value | 664,511 | 685,304 |
Commercial paper | Cash and Cash Equivalents |  |  |
Debt Securities, Available-for-sale [Line Items] |  |  |
Cost or Amortized Cost | 16,459 | 2,686 |
Gross Unrealized Gains | 0 | 0 |
Gross Unrealized Losses | (4) | 0 |
Fair Value | 16,455 | 2,686 |
Money market funds |  |  |
Debt Securities, Available-for-sale [Line Items] |  |  |
Cost or Amortized Cost, money market funds | 6,580 | 20,072 |
Fair Value, money market funds | 6,580 | 20,072 |
Asset-backed securities | Marketable Securities |  |  |
Debt Securities, Available-for-sale [Line Items] |  |  |
Cost or Amortized Cost | 7,754 | 7,791 |
Gross Unrealized Gains | 0 | 0 |
Gross Unrealized Losses | (119) | (51) |
Fair Value | 7,635 | 7,740 |
Certificates of deposit | Marketable Securities |  |  |
Debt Securities, Available-for-sale [Line Items] |  |  |
Cost or Amortized Cost | 15,414 |  |
Gross Unrealized Gains | 0 |  |
Gross Unrealized Losses | (111) |  |
Fair Value | 15,303 |  |
Commercial paper | Marketable Securities |  |  |
Debt Securities, Available-for-sale [Line Items] |  |  |
Cost or Amortized Cost | 52,531 | 9,436 |
Gross Unrealized Gains | 5 | 0 |
Gross Unrealized Losses | (112) | (53) |
Fair Value | 52,424 | 9,383 |
Corporate notes and bonds | Marketable Securities |  |  |
Debt Securities, Available-for-sale [Line Items] |  |  |
Cost or Amortized Cost | 144,640 | 129,900 |
Gross Unrealized Gains | 5 | 0 |
Gross Unrealized Losses | (1,515) | (1,796) |
Fair Value | 143,130 | 128,104 |
Sovereign bonds | Marketable Securities |  |  |
Debt Securities, Available-for-sale [Line Items] |  |  |
Cost or Amortized Cost | 7,743 | 8,770 |
Gross Unrealized Gains | 0 | 0 |
Gross Unrealized Losses | (463) | (334) |
Fair Value | 7,280 | 8,436 |
U.S. government and agency securities | Marketable Securities |  |  |
Debt Securities, Available-for-sale [Line Items] |  |  |
Cost or Amortized Cost | 461,540 | 549,901 |
Gross Unrealized Gains | 0 | 0 |
Gross Unrealized Losses | (22,801) | (18,260) |
Fair Value | $ 438,739 | $ 531,641 |

X
- Definition Cash and Cash Equivalents and Short Term Investments, Amortized Cost + References No definition available. + Details
Name: | docs_CashAndCashEquivalentsAndShortTermInvestmentsAmortizedCost
Namespace Prefix: | docs_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, before tax, of unrealized gain in accumulated other comprehensive income (AOCI) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27161-111563 + Details
Name: | us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount, before tax, of unrealized loss in accumulated other comprehensive income (AOCI) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27161-111563 + Details
Name: | us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Excludes cash and cash equivalents within disposal group and discontinued operation. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 4 -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3044-108585 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section 45 -Paragraph 1 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(1)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_CashAndCashEquivalentsAtCarryingValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value portion of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. + References No definition available. + Details
Name: | us-gaap_CashAndCashEquivalentsFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Cash includes currency on hand as well as demand deposits with banks or financial institutions. It also includes other kinds of accounts that have the general characteristics of demand deposits in that the customer may deposit additional funds at any time and effectively may withdraw funds at any time without prior notice or penalty. Cash equivalents, excluding items classified as marketable securities, include short-term, highly liquid Investments that are both readily convertible to known amounts of cash, and so near their maturity that they present minimal risk of changes in value because of changes in interest rates. Generally, only investments with original maturities of three months or less qualify under that definition. Original maturity means original maturity to the entity holding the investment. For example, both a three-month US Treasury bill and a three-year Treasury note purchased three months from maturity qualify as cash equivalents. However, a Treasury note purchased three years ago does not become a cash equivalent when its remaining maturity is three months. Short-term investments, exclusive of cash equivalents, generally consist of marketable securities intended to be sold within one year (or the normal operating cycle if longer) and may include trading securities, available-for-sale securities, or held-to-maturity securities (if maturing within one year), as applicable. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(9)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_CashCashEquivalentsAndShortTermInvestments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortized cost excluding accrued interest, after allowance for credit loss, of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 45 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=124258926&loc=SL82898722-210454 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount excluding accrued interest, of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 45 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=124258926&loc=SL82898722-210454 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=us-gaap_CashAndCashEquivalentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=docs_DebtSecuritiesAvailableForSaleExcludingAccruedInterestCurrentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

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

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

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

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

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