XML 45 R30.htm IDEA: XBRL DOCUMENT
v3.22.4

FINANCIAL INSTRUMENTS (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2022
Investments, Debt and Equity Securities [Abstract] |
Schedule of Cash Cash Equivalents and Available-for-Sale Securities by Significant Investment Category | The following tables show the Company’s cash, cash equivalents and available-for-sale securities by significant investment category as of December 31, 2022 and 2021, respectively:
| December 31, 2022
| Amortized Cost |  | Gross Unrealized Gains |  | Gross Unrealized Losses |  | Aggregate Fair Value |  | Cash and Cash Equivalents |  | Short-term Marketable Securities (1) |  | Long-term Marketable Securities (2)
Level 1: |  |  |  |  |  |  |  |  |  |  |  |  |
Cash | $ | 463,248 |  |  | $ | — |  |  | $ | — |  |  | $ | 463,248 |  |  | $ | 463,248 |  |  | $ | — |  |  | $ | — |
Level 2: |  |  |  |  |  |  |  |  |  |  |  |  |
Money market instruments | 248,933 |  |  | — |  |  | — |  |  | 248,933 |  |  | 248,933 |  |  | — |  |  | — |
Corporate debt securities | 504,984 |  |  | 34 |  |  | (11,541) |  |  | 493,477 |  |  | 1,881 |  |  | 299,153 |  |  | 192,443 |
U.S. government agency securities | 312,720 |  |  | 45 |  |  | (3,771) |  |  | 308,994 |  |  | — |  |  | 229,846 |  |  | 79,148 |
Commercial paper | 48,103 |  |  | 11 |  |  | (22) |  |  | 48,092 |  |  | 10,469 |  |  | 37,623 |  |  | — |
Asset-backed securities | 63,151 |  |  | 69 |  |  | (592) |  |  | 62,628 |  |  | — |  |  | 384 |  |  | 62,244 |
Subtotal | 1,177,891 |  |  | 159 |  |  | (15,926) |  |  | 1,162,124 |  |  | 261,283 |  |  | 567,006 |  |  | 333,835 |
Total | $ | 1,641,139 |  |  | $ | 159 |  |  | $ | (15,926) |  |  | $ | 1,625,372 |  |  | $ | 724,531 |  |  | $ | 567,006 |  |  | $ | 333,835 |
| December 31, 2021
| Amortized Cost |  | Gross Unrealized Gains |  | Gross Unrealized Losses |  | Aggregate Fair Value |  | Cash and Cash Equivalents |  | Short-term Marketable Securities (1) |  | Long-term Marketable Securities (2)
Level 1: |  |  |  |  |  |  |  |  |  |  |  |  |
Cash | $ | 301,177 |  |  | $ | — |  |  | $ | — |  |  | $ | 301,177 |  |  | $ | 301,177 |  |  | $ | — |  |  | $ | — |
Level 2: |  |  |  |  |  |  |  |  |  |  |  |  |
Money market instruments | 285,099 |  |  | — |  |  | — |  |  | 285,099 |  |  | 285,099 |  |  | — |  |  | — |
Corporate debt securities | 584,000 |  |  | 386 |  |  | (2,086) |  |  | 582,300 |  |  | — |  |  | 200,304 |  |  | 381,996 |
U.S. government agency securities | 224,774 |  |  | 182 |  |  | (325) |  |  | 224,631 |  |  | — |  |  | 146,421 |  |  | 78,210 |
Commercial paper | 68,384 |  |  | — |  |  | — |  |  | 68,384 |  |  | 1,000 |  |  | 67,384 |  |  | — |
Asset-backed securities | 56,936 |  |  | 10 |  |  | (95) |  |  | 56,851 |  |  | — |  |  | 9,451 |  |  | 47,400 |
Foreign and other | 3,097 |  |  | 141 |  |  | (12) |  |  | 3,226 |  |  | — |  |  | 3,039 |  |  | 187 |
Subtotal | 1,222,290 |  |  | 719 |  |  | (2,518) |  |  | 1,220,491 |  |  | 286,099 |  |  | 426,599 |  |  | 507,793 |
Total | $ | 1,523,467 |  |  | $ | 719 |  |  | $ | (2,518) |  |  | $ | 1,521,668 |  |  | $ | 587,276 |  |  | $ | 426,599 |  |  | $ | 507,793 |
(1)The Company’s short-term marketable securities mature in one year or less. (2)The Company’s long-term marketable securities mature between one and five years.

X
- Definition Schedule of cash, cash equivalents and available-for-sale securities. + References No definition available. + Details
Name: | bmrn_ScheduleOfCashCashEquivalentsAndAvailableForSaleSecuritiesTableTextBlock
Namespace Prefix: | bmrn_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration