XML 52 R42.htm IDEA: XBRL DOCUMENT
v3.22.4

Investments - Narrative (Details) - USD ($) | 3 Months Ended | 9 Months Ended |
--- | --- | --- | ---
Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2022 | Dec. 31, 2021 | Mar. 31, 2022
Debt Securities, Available-for-sale [Line Items] |  |  |  |  |
Accrued interest | $ 2,200,000 |  | $ 2,200,000 |  | $ 2,100,000
Unrealized losses of debt securities | 25,125,000 |  | 25,125,000 |  | 20,494,000
Impairment on debt securities | 0 |  | 0 |  |
Debt securities credit losses | 0 | $ 0 | 0 | $ 0 |
Fair value of debt securities which no credit losses were recognized | 649,500,000 | 678,800,000 | 649,500,000 | 678,800,000 |
Impairment on debt securities during period |  | 0 |  | 0 |
Marketable Securities |  |  |  |  |
Debt Securities, Available-for-sale [Line Items] |  |  |  |  |
Unrealized losses of debt securities | $ 25,121,000 | $ 5,400,000 | $ 25,121,000 | $ 5,400,000 | $ 20,494,000

X
- Definition Debt Securities, Available-for-Sale, Allowance for Credit Loss, Expense + References No definition available. + Details
Name: | docs_DebtSecuritiesAvailableForSaleAllowanceForCreditLossExpense
Namespace Prefix: | docs_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Debt Securities, Available-for-Sale, Impairment During Period + References No definition available. + Details
Name: | docs_DebtSecuritiesAvailableForSaleImpairmentDuringPeriod
Namespace Prefix: | docs_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Debt Securities, Available-for-Sale, Impairment Loss + References No definition available. + Details
Name: | docs_DebtSecuritiesAvailableForSaleImpairmentLoss
Namespace Prefix: | docs_
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, after allowance for credit loss, of accrued interest 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://www.xbrl.org/2003/role/disclosureRef -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 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 50 -Paragraph 3A -URI https://asc.fasb.org/extlink&oid=124269663&loc=SL120267853-210455 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2A -URI https://asc.fasb.org/extlink&oid=126970911&loc=SL121698322-111563 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 50 -Paragraph 3B -URI https://asc.fasb.org/extlink&oid=124269663&loc=SL120267856-210455 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleAccruedInterestAfterAllowanceForCreditLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in unrealized loss position without allowance for credit loss. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 6 -Subparagraph (a)(1) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27290-111563 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 50 -Paragraph 4 -Subparagraph (a)(1) -URI https://asc.fasb.org/extlink&oid=124269663&loc=SL82922888-210455 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 55 -Paragraph 8 -URI https://asc.fasb.org/extlink&oid=121590138&loc=SL82922954-210456 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition
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=docs_DebtSecuritiesAvailableForSaleExcludingAccruedInterestCurrentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |