XML 65 R49.htm IDEA: XBRL DOCUMENT
v3.23.1

Investments - Cost, Gross Unrealized Gains and Losses, and Fair Value of Investments (Details) - USD ($) $ in Thousands | Mar. 31, 2023 | Mar. 31, 2022
--- | --- | ---
Debt Securities, Available-for-sale [Line Items] |  |
Cost or Amortized Cost |  | $ 728,556
Gross Unrealized Gains | $ 67 | 0
Gross Unrealized Losses | (18,924) | (20,494)
Fair Value | 682,972 | 708,062
Cost or Amortized Cost, money market funds | 158,027 | 112,809
Cost or Amortized Cost, cash equivalents and marketable securities | 828,104 |
Fair Value, cash equivalents and marketable securities | 809,247 |
Money market funds |  |
Debt Securities, Available-for-sale [Line Items] |  |
Cost or Amortized Cost, money market funds | 126,275 |
Fair Value, money market funds | 126,275 |
Cash and cash equivalents |  |
Debt Securities, Available-for-sale [Line Items] |  |
Cost or Amortized Cost |  | 22,758
Gross Unrealized Gains |  | 0
Gross Unrealized Losses |  | 0
Fair Value |  | 22,758
Cost or Amortized Cost, cash equivalents and marketable securities | 126,275 |
Fair Value, cash equivalents and marketable securities | 126,275 |
Cash and cash equivalents | Commercial paper |  |
Debt Securities, Available-for-sale [Line Items] |  |
Cost or Amortized Cost |  | 2,686
Gross Unrealized Gains |  | 0
Gross Unrealized Losses |  | 0
Fair Value |  | 2,686
Cash and cash equivalents | Money market funds |  |
Debt Securities, Available-for-sale [Line Items] |  |
Cost or Amortized Cost |  | 20,072
Gross Unrealized Gains |  | 0
Gross Unrealized Losses |  | 0
Fair Value |  | 20,072
Debt Securities |  |
Debt Securities, Available-for-sale [Line Items] |  |
Cost or Amortized Cost | 701,829 | 705,798
Gross Unrealized Gains | 67 | 0
Gross Unrealized Losses | (18,924) | (20,494)
Fair Value | 682,972 | 685,304
Debt Securities | Asset-backed securities |  |
Debt Securities, Available-for-sale [Line Items] |  |
Cost or Amortized Cost | 7,271 | 7,791
Gross Unrealized Gains | 0 | 0
Gross Unrealized Losses | (71) | (51)
Fair Value | 7,200 | 7,740
Debt Securities | Certificates of deposit |  |
Debt Securities, Available-for-sale [Line Items] |  |
Cost or Amortized Cost | 27,380 |
Gross Unrealized Gains | 0 |
Gross Unrealized Losses | (80) |
Fair Value | 27,300 |
Debt Securities | Commercial paper |  |
Debt Securities, Available-for-sale [Line Items] |  |
Cost or Amortized Cost | 78,609 | 9,436
Gross Unrealized Gains | 6 | 0
Gross Unrealized Losses | (126) | (53)
Fair Value | 78,489 | 9,383
Debt Securities | Corporate notes and bonds |  |
Debt Securities, Available-for-sale [Line Items] |  |
Cost or Amortized Cost | 119,241 | 129,900
Gross Unrealized Gains | 49 | 0
Gross Unrealized Losses | (778) | (1,796)
Fair Value | 118,512 | 128,104
Debt Securities | Sovereign bonds |  |
Debt Securities, Available-for-sale [Line Items] |  |
Cost or Amortized Cost | 7,744 | 8,770
Gross Unrealized Gains | 0 | 0
Gross Unrealized Losses | (360) | (334)
Fair Value | 7,384 | 8,436
Debt Securities | U.S. government and agency securities |  |
Debt Securities, Available-for-sale [Line Items] |  |
Cost or Amortized Cost | 461,584 | 549,901
Gross Unrealized Gains | 12 | 0
Gross Unrealized Losses | (17,509) | (18,260)
Fair Value | $ 444,087 | $ 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_FinancialInstrumentAxis=us-gaap_MoneyMarketFundsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=us-gaap_CashAndCashEquivalentsMember
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_BalanceSheetLocationAxis=us-gaap_DebtSecuritiesMember
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: |