Acquisitions and Assets Held for Sale - Assets and Liabilities Held For Sale (Details) - Disposal Group, Held-for-sale, Not Discontinued Operations - Sale Of Company-Managed Clinics - USD ($)  | 
Dec. 31, 2023  | 
Dec. 31, 2022  | 
Jun. 30, 2022  | 
|---|---|---|---|
| Assets | |||
| Property and equipment, net | $ 4,887,220 | $ 288,192 | |
| Operating lease right-of-use asset | 9,193,496 | 359,807 | |
| Intangible assets, net | 3,351,430 | ||
| Goodwill | 1,140,529 | ||
| Valuation allowance | (657,620) | $ (79,400) | |
| Total assets held for sale | 17,915,055 | ||
| Liabilities | |||
| Operating lease liability, current and non-current | 10,209,382 | 428,593 | |
| Deferred revenue from company clinics | 3,622,481 | $ 54,351 | |
| Total liabilities to be disposed of | $ 13,831,863 | 
| X | ||||||||||
- Definition Disposal Group, Including Discontinued Operation, Operating Lease, Liability No definition available. 
  | 
| X | ||||||||||
- Definition Disposal Group, Including Discontinued Operation, Operating Lease, Right-of-Use Asset No definition available. 
  | 
| X | ||||||||||
- Definition Disposal Group, Including Discontinued Operation, Valuation Allowance No definition available. 
  | 
| X | ||||||||||
- Definition Amount classified as assets attributable to disposal group held for sale or disposed of. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| X | ||||||||||
- References No definition available. 
  | 
| X | ||||||||||
- Definition Amount classified as deferred revenue attributable to disposal group held for sale or disposed of. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| X | ||||||||||
- Definition Amount classified as goodwill attributable to disposal group held for sale or disposed of. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| X | ||||||||||
- Definition Amount classified as intangible assets, excluding goodwill, attributable to disposal group held for sale or disposed of. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| X | ||||||||||
- Definition Amount classified as property, plant and equipment attributable to disposal group held for sale or disposed of. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| X | ||||||||||
- Definition Amount classified as liabilities attributable to disposal group held for sale or disposed of. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| X | ||||||||||
- References No definition available. 
  | 
| X | ||||||||||
- Details 
  | 
| X | ||||||||||
- Details 
  |