XML 51 R41.htm IDEA: XBRL DOCUMENT
v3.22.2

Investments - Cost, Gross Unrealized Gains and Losses, and Fair Value of Investments (Details) - USD ($) $ in Thousands | Jun. 30, 2022 | Mar. 31, 2022 | Jun. 30, 2021
--- | --- | --- | ---
Debt Securities, Available-for-sale [Line Items] |  |  |
Gross Unrealized Gains | $ 0 | $ 0 |
Gross Unrealized Losses | (24,019) | (20,494) |
Fair Value | 666,162 |  |
Cost or Amortized Cost, money market funds | 110,092 | 112,809 |
Cost or Amortized Cost, cash equivalents and marketable securities | 788,513 | 728,556 |
Fair Value, cash equivalents and marketable securities | 764,494 | 708,062 |
Cash and Cash Equivalents |  |  |
Debt Securities, Available-for-sale [Line Items] |  |  |
Gross Unrealized Gains | 0 | 0 |
Gross Unrealized Losses | 0 | 0 |
Fair Value | 98,332 |  |
Cost or Amortized Cost, cash equivalents and marketable securities | 98,332 | 22,758 |
Fair Value, cash equivalents and marketable securities |  | 22,758 |
Available-for-sale Securities |  |  |
Debt Securities, Available-for-sale [Line Items] |  |  |
Cost or Amortized Cost | 690,181 | 705,798 |
Gross Unrealized Gains | 0 | 0 |
Gross Unrealized Losses | (24,019) | (20,494) | $ 0
Fair Value | 666,162 | 685,304 |
Commercial paper | Cash and Cash Equivalents |  |  |
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 |
Corporate notes and bonds | Available-for-sale Securities |  |  |
Debt Securities, Available-for-sale [Line Items] |  |  |
Cost or Amortized Cost | 122,676 | 129,900 |
Gross Unrealized Gains | 0 | 0 |
Gross Unrealized Losses | (2,363) | (1,796) |
Fair Value | 120,313 | 128,104 |
Money market funds |  |  |
Debt Securities, Available-for-sale [Line Items] |  |  |
Cost or Amortized Cost, money market funds | 98,332 | 20,072 |
Fair Value, money market funds | 98,332 | 20,072 |
Asset-backed securities | Available-for-sale Securities |  |  |
Debt Securities, Available-for-sale [Line Items] |  |  |
Cost or Amortized Cost | 5,935 | 7,791 |
Gross Unrealized Gains | 0 | 0 |
Gross Unrealized Losses | (99) | (51) |
Fair Value | 5,836 | 7,740 |
Commercial paper | Available-for-sale Securities |  |  |
Debt Securities, Available-for-sale [Line Items] |  |  |
Cost or Amortized Cost | 5,090 | 9,436 |
Gross Unrealized Gains | 0 | 0 |
Gross Unrealized Losses | (50) | (53) |
Fair Value | 5,040 | 9,383 |
Sovereign bonds | Available-for-sale Securities |  |  |
Debt Securities, Available-for-sale [Line Items] |  |  |
Cost or Amortized Cost | 7,740 | 8,770 |
Gross Unrealized Gains | 0 | 0 |
Gross Unrealized Losses | (389) | (334) |
Fair Value | 7,351 | 8,436 |
U.S. government and agency securities | Available-for-sale Securities |  |  |
Debt Securities, Available-for-sale [Line Items] |  |  |
Cost or Amortized Cost | 548,740 | 549,901 |
Gross Unrealized Gains | 0 | 0 |
Gross Unrealized Losses | (21,118) | (18,260) |
Fair Value | $ 527,622 | $ 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=us-gaap_AvailableforsaleSecuritiesMember
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_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_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: |