XML 62 R47.htm IDEA: XBRL DOCUMENT
v3.22.1

Investments - Cost, Gross Unrealized Gains and Losses, and Fair Value of Investments (Details) - USD ($) $ in Thousands | Mar. 31, 2022 | Mar. 31, 2021
--- | --- | ---
Debt Securities, Available-for-sale [Line Items] |  |
Cost or Amortized Cost |  | $ 93,107
Gross Unrealized Gains | $ 0 | 6
Gross Unrealized Losses | (20,494) | (27)
Fair Value | 687,990 | 93,086
Cost or Amortized Cost, money market funds | 112,809 | 66,393
Cost or Amortized Cost, cash equivalents and marketable securities | 728,556 |
Fair Value, cash equivalents and marketable securities | 708,062 |
Money market funds |  |
Debt Securities, Available-for-sale [Line Items] |  |
Cost or Amortized Cost, money market funds | 20,072 |
Fair Value, money market funds | 20,072 |
Cash and cash equivalents |  |
Debt Securities, Available-for-sale [Line Items] |  |
Cost or Amortized Cost |  | 16,946
Gross Unrealized Gains |  | 0
Gross Unrealized Losses |  | (1)
Fair Value |  | 16,945
Cost or Amortized Cost, cash equivalents and marketable securities | 22,758 |
Fair Value, cash equivalents and marketable securities | 22,758 |
Cash and cash equivalents | Commercial paper |  |
Debt Securities, Available-for-sale [Line Items] |  |
Cost or Amortized Cost | 2,686 | 2,290
Gross Unrealized Gains | 0 | 0
Gross Unrealized Losses | 0 | 0
Fair Value | 2,686 | 2,290
Cash and cash equivalents | Corporate notes and bonds |  |
Debt Securities, Available-for-sale [Line Items] |  |
Cost or Amortized Cost |  | 3,517
Gross Unrealized Gains |  | 0
Gross Unrealized Losses |  | (1)
Fair Value |  | 3,516
Cash and cash equivalents | Money market funds |  |
Debt Securities, Available-for-sale [Line Items] |  |
Cost or Amortized Cost |  | 9,838
Gross Unrealized Gains |  | 0
Gross Unrealized Losses |  | 0
Fair Value |  | 9,838
Cash and cash equivalents | Certificates of deposit |  |
Debt Securities, Available-for-sale [Line Items] |  |
Cost or Amortized Cost |  | 1,301
Gross Unrealized Gains |  | 0
Gross Unrealized Losses |  | 0
Fair Value |  | 1,301
Available-for-sale securities |  |
Debt Securities, Available-for-sale [Line Items] |  |
Cost or Amortized Cost | 705,798 | 76,161
Gross Unrealized Gains | 0 | 6
Gross Unrealized Losses | (20,494) | (26)
Fair Value | 685,304 | 76,141
Available-for-sale securities | Corporate notes and bonds |  |
Debt Securities, Available-for-sale [Line Items] |  |
Cost or Amortized Cost | 129,900 | 46,662
Gross Unrealized Gains | 0 | 3
Gross Unrealized Losses | (1,796) | (24)
Fair Value | 128,104 | 46,641
Available-for-sale securities | Certificates of deposit |  |
Debt Securities, Available-for-sale [Line Items] |  |
Cost or Amortized Cost |  | 4,867
Gross Unrealized Gains |  | 1
Gross Unrealized Losses |  | 0
Fair Value |  | 4,868
Available-for-sale securities | Asset-backed securities |  |
Debt Securities, Available-for-sale [Line Items] |  |
Cost or Amortized Cost | 7,791 | 3,264
Gross Unrealized Gains | 0 | 0
Gross Unrealized Losses | (51) | (1)
Fair Value | 7,740 | 3,263
Available-for-sale securities | Commercial paper |  |
Debt Securities, Available-for-sale [Line Items] |  |
Cost or Amortized Cost | 9,436 | 16,411
Gross Unrealized Gains | 0 | 1
Gross Unrealized Losses | (53) | 0
Fair Value | 9,383 | 16,412
Available-for-sale securities | Sovereign bonds |  |
Debt Securities, Available-for-sale [Line Items] |  |
Cost or Amortized Cost | 8,770 | 1,100
Gross Unrealized Gains | 0 | 0
Gross Unrealized Losses | (334) | (1)
Fair Value | 8,436 | 1,099
Available-for-sale securities | U.S. government and agency securities |  |
Debt Securities, Available-for-sale [Line Items] |  |
Cost or Amortized Cost | 549,901 | 3,857
Gross Unrealized Gains | 0 | 1
Gross Unrealized Losses | (18,260) | 0
Fair Value | $ 531,641 | $ 3,858

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 http://asc.fasb.org/extlink&oid=123581744&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 http://asc.fasb.org/extlink&oid=123581744&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 http://asc.fasb.org/extlink&oid=123570139&loc=d3e3044-108585 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section 45 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.1) -URI http://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://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.1) -URI http://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 http://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 http://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_FinancialInstrumentAxis=us-gaap_CorporateDebtSecuritiesMember
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_BalanceSheetLocationAxis=us-gaap_AvailableforsaleSecuritiesMember
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_CommercialPaperNotIncludedWithCashAndCashEquivalentsMember
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: |