| CONSOLIDATED SCHEDULE OF INVESTMENTS (Parenthetical)$ in Thousands
 | Dec. 31, 2022  USD ($)  Firm | Dec. 31, 2021  USD ($)  Firm | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Tax basis of investments, gross, unrealized appreciation |  | $ 72,200 |  | $ 121,000 |  | 
| Tax basis of investments, gross, unrealized depreciation |  | 112,000 |  | 75,700 |  | 
| Tax basis of investments, unrealized appreciation (depreciation), net |  | 39,800 |  | 45,300 |  | 
| Tax basis of investments, cost for income tax purposes |  | 3,000,000 |  | 2,400,000 |  | 
| Outstanding balance |  | 2,185,000 |  | 1,745,000 |  | 
| Investment cost |  | 3,005,696 |  | 2,390,984 |  | 
| Total investments at fair value |  | $ 2,963,955 |  | $ 2,434,522 |  | 
| Investment Basis Spread Variable Rate |  | 7.50% |  |  |  | 
| PRIME |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment Basis Spread Variable Rate |  |  |  | 3.25% |  | 
| 1-month LIBOR |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Interest Rate and Floor |  | 4.40% |  | 0.14% |  | 
| 3-month LIBOR |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Interest Rate and Floor |  | 4.77% |  | 0.24% |  | 
| 6-month LIBOR |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Interest Rate and Floor |  | 5.14% |  | 0.26% |  | 
| Warrant [Member] | Fair Value Inputs Level1 [Member] |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Number of publicly traded companies | Firm |  | 27 |  | 26 |  | 
| Common Stock [Member] | Fair Value Inputs Level1 [Member] |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Number of publicly traded companies | Firm |  | 43 |  | 36 |  | 
| Equity |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 9.56% | [1] | 14.12% | [2] | 
| Investment cost |  | $ 153,173 | [3] | $ 142,219 |  | 
| Total investments at fair value |  | 133,972 |  | 184,710 |  | 
| Equity | Common Stock [Member] |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Total investments at fair value |  | $ 92,484 |  | $ 115,271 |  | 
| Warrant Investment |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 2.19% | [1] | 2.93% | [2] | 
| Investment cost |  | $ 30,964 | [3] | $ 27,147 | [4] | 
| Total investments at fair value |  | 30,646 |  | 38,399 |  | 
| Warrant Investment | Warrant [Member] |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Total investments at fair value |  | $ 30,646 |  | $ 38,399 |  | 
| Debt Investments |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 199.47% | [1] | 168.86% | [2] | 
| Investment cost |  | $ 2,818,060 | [3] | $ 2,219,586 | [4] | 
| Total investments at fair value |  | 2,795,444 |  | 2,209,599 |  | 
| Senior Secured Debt |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Total investments at fair value |  | 2,741,388 |  | 2,156,709 |  | 
| Unsecured [Member] |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Total investments at fair value |  | $ 54,056 |  | $ 52,890 |  | 
| Investments in Securities |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 211.21% | [1] | 185.91% | [2] | 
| Investment cost |  | $ 3,002,197 | [3] | $ 2,388,952 | [4] | 
| Total investments at fair value |  | $ 2,960,062 |  | $ 2,432,708 |  | 
| Investment Funds Vehicles |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 0.28% | [1] | 0.14% | [2] | 
| Investment cost | [4] |  |  | $ 2,032 |  | 
| Total investments at fair value |  | $ 3,893 |  | $ 1,814 |  | 
| Investment |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 211.49% | [1] | 186.05% | [2] | 
| Investment cost |  | $ 3,005,696 | [3] | $ 2,390,984 | [4] | 
| Total investments at fair value |  | 2,963,955 |  | 2,434,522 |  | 
| Phathom Pharmaceuticals Inc [Member] | Royalty Contract |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment cost |  | 4,600 |  |  |  | 
| Total investments at fair value |  | 3,400 |  |  |  | 
| Black Crow AI, Inc. affiliates |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Principal Amount |  |  |  | 3,000 |  | 
| Black Crow AI, Inc. affiliates | Promissory Notes [Member] |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Principal Amount |  | 3,000 |  |  |  | 
| Biotechnology Tools |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Total investments at fair value |  | $ 32,825 |  | $ 0 |  | 
| Biotechnology Tools | Warrant Investment |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment owned, percent of net assets | [1] | 0.03% |  |  |  | 
| Investment cost | [3] | $ 485 |  |  |  | 
| Total investments at fair value |  | 486 |  |  |  | 
| Biotechnology Tools | Debt Investments |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment cost | [3] | 32,339 |  |  |  | 
| Total investments at fair value |  | $ 32,339 |  |  |  | 
| Biotechnology Tools | Senior Secured Debt |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment owned, percent of net assets | [1] | 2.31% |  |  |  | 
| Consumer & Business Services | Equity |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 0.57% | [1] | 2.70% | [2] | 
| Investment cost | [3] | $ 13,488 |  |  |  | 
| Total investments at fair value |  | $ 7,995 |  |  |  | 
| Consumer & Business Services | Warrant Investment |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 0.19% | [1] | 0.78% | [2] | 
| Investment cost | [3] | $ 4,248 |  |  |  | 
| Total investments at fair value |  | 2,639 |  |  |  | 
| Consumer & Business Services | Debt Investments |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment cost | [3] | 444,703 |  |  |  | 
| Total investments at fair value |  | $ 428,750 |  |  |  | 
| Consumer & Business Services | Senior Secured Debt |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 30.59% | [1] | 26.74% | [2] | 
| Diversified Financial Services |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Total investments at fair value |  | $ 68,569 |  | $ 65,073 |  | 
| Diversified Financial Services | Equity |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 2.49% | [1] | 2.49% | [2] | 
| Investment cost |  | $ 28,444 | [3] | $ 28,041 | [4] | 
| Total investments at fair value |  | 34,869 |  | 32,608 |  | 
| Diversified Financial Services | Debt Investments |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment cost |  | 36,567 | [3] | 33,738 | [4] | 
| Total investments at fair value |  | $ 33,700 |  | $ 32,465 |  | 
| Diversified Financial Services | Senior Secured Debt |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment owned, percent of net assets | [1] | 2.40% |  |  |  | 
| Diversified Financial Services | Unsecured [Member] |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment owned, percent of net assets | [2] |  |  | 2.48% |  | 
| Software |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Total investments at fair value |  | $ 798,264 |  | $ 585,622 |  | 
| Software | Equity |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 2.07% | [1] | 3.45% | [2] | 
| Investment cost |  | $ 32,498 | [3] | $ 23,905 | [4] | 
| Total investments at fair value |  | $ 28,966 |  | $ 45,087 |  | 
| Software | Warrant Investment |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 0.59% | [1] | 0.85% | [2] | 
| Investment cost |  | $ 9,761 | [3] | $ 5,594 | [4] | 
| Total investments at fair value |  | $ 8,244 |  | 11,133 |  | 
| Software | Debt Investments |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment cost | [4] |  |  | 526,253 |  | 
| Total investments at fair value |  |  |  | $ 529,402 |  | 
| Software | Senior Secured Debt |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 54.28% | [1] | 40.46% | [2] | 
| Investment cost | [3] | $ 762,371 |  |  |  | 
| Total investments at fair value |  | $ 760,679 |  |  |  | 
| Software | Investment Funds Vehicles |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment owned, percent of net assets | [1] | 0.03% |  |  |  | 
| Investment cost | [3] | $ 381 |  |  |  | 
| Total investments at fair value |  | 375 |  |  |  | 
| Semiconductors |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Total investments at fair value |  | $ 21,921 |  | $ 22,498 |  | 
| Semiconductors | Equity |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 0.01% | [1] | 0.06% | [2] | 
| Investment cost | [3] | $ 160 |  |  |  | 
| Total investments at fair value |  | $ 205 |  | $ 725 |  | 
| Semiconductors | Warrant Investment |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 0.04% | [1] | 0.21% | [2] | 
| Investment cost |  | $ 850 | [3] | $ 850 | [4] | 
| Total investments at fair value |  | 524 |  | 2,701 |  | 
| Semiconductors | Debt Investments |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment cost |  | 19,639 | [3] | $ 19,072 | [4] | 
| Total investments at fair value |  | $ 21,192 |  |  |  | 
| Semiconductors | Senior Secured Debt |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 1.51% | [1] | 1.46% | [2] | 
| Surgical Devices |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Total investments at fair value |  | $ 3,038 |  | $ 1,029 |  | 
| Surgical Devices | Equity |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 0.18% | [1] | 0.04% | [2] | 
| Investment cost |  | $ 2,479 | [3] | $ 1,941 |  | 
| Total investments at fair value |  | $ 2,546 |  | $ 543 |  | 
| Surgical Devices | Warrant Investment |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 0.04% | [1] | 0.04% | [2] | 
| Investment cost |  | $ 46 | [3] | $ 206 | [4] | 
| Total investments at fair value |  | 492 |  | 486 |  | 
| Consumer & Business Services |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Total investments at fair value |  | 439,384 |  | 395,506 |  | 
| Consumer & Business Services | Equity |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment cost | [4] |  |  | 22,151 |  | 
| Total investments at fair value |  |  |  | 35,331 |  | 
| Consumer & Business Services | Warrant Investment |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment cost | [4] |  |  | 4,992 |  | 
| Total investments at fair value |  |  |  | 10,212 |  | 
| Consumer & Business Services | Debt Investments |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment cost | [4] |  |  | 363,165 |  | 
| Total investments at fair value |  |  |  | 349,963 |  | 
| Medical Devices & Equipment |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Total investments at fair value |  | $ 1,834 |  | $ 12,612 |  | 
| Medical Devices & Equipment | Equity |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 0.07% | [1] | 0.81% | [2] | 
| Investment cost | [3] | $ 2,953 |  |  |  | 
| Total investments at fair value |  | $ 915 |  | $ 10,538 |  | 
| Medical Devices & Equipment | Warrant Investment |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 0.07% | [1] | 0.16% | [2] | 
| Investment cost |  | $ 2,034 | [3] | $ 2,483 | [4] | 
| Total investments at fair value |  | 919 |  | 2,074 |  | 
| Medical Devices & Equipment | Phathom Pharmaceuticals Inc [Member] | Warrant Investment |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment cost | [4] |  |  | 714 |  | 
| Information Services |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Total investments at fair value |  | $ 60,759 |  | $ 74,417 |  | 
| Information Services | Equity |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 0.58% | [1] | 0.72% | [2] | 
| Investment cost |  | $ 4,440 | [3] | $ 4,440 | [4] | 
| Total investments at fair value |  | $ 8,175 |  | $ 9,414 |  | 
| Information Services | Warrant Investment |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 0.04% | [1] | 0.04% | [2] | 
| Investment cost |  | $ 680 | [3] | $ 645 | [4] | 
| Total investments at fair value |  | 509 |  | 557 |  | 
| Information Services | Debt Investments |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment cost |  | 52,619 | [3] | 64,773 | [4] | 
| Total investments at fair value |  | $ 52,075 |  | $ 64,446 |  | 
| Information Services | Senior Secured Debt |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 3.72% | [1] | 4.93% | [2] | 
| Healthcare Services Other |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Total investments at fair value |  | $ 198,763 |  | $ 121,003 |  | 
| Healthcare Services Other | Equity |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 0.21% | [1] | 0.56% | [2] | 
| Investment cost |  | $ 6,781 | [3] | $ 6,781 | [4] | 
| Total investments at fair value |  | $ 2,894 |  | 7,364 |  | 
| Healthcare Services Other | Warrant Investment |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment owned, percent of net assets | [1] | 0.00% |  |  |  | 
| Investment cost | [3] | $ 114 |  |  |  | 
| Total investments at fair value |  | 14 |  |  |  | 
| Healthcare Services Other | Debt Investments |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment cost |  | 196,342 | [3] | 113,724 | [4] | 
| Total investments at fair value |  | $ 195,855 |  | $ 113,639 |  | 
| Healthcare Services Other | Senior Secured Debt |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 13.98% | [1] | 8.68% | [2] | 
| Drug Discovery & Development |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Total investments at fair value |  | $ 1,150,707 |  | $ 967,383 |  | 
| Drug Discovery & Development | Equity |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 2.66% | [1] | 1.90% | [2] | 
| Investment cost |  | $ 43,971 | [3] | $ 33,401 | [4] | 
| Total investments at fair value |  | $ 37,315 |  | $ 24,860 |  | 
| Drug Discovery & Development | Warrant Investment |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 0.60% | [1] | 0.36% | [2] | 
| Investment cost |  | $ 7,466 | [3] | $ 7,393 | [4] | 
| Total investments at fair value |  | 8,444 |  | 4,745 |  | 
| Drug Discovery & Development | Debt Investments |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment cost |  | 1,107,352 | [3] | 936,457 | [4] | 
| Total investments at fair value |  | $ 1,101,430 |  | $ 935,964 |  | 
| Drug Discovery & Development | Senior Secured Debt |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 78.59% | [1] | 71.53% | [2] | 
| Drug Discovery & Development | Investment Funds Vehicles |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment owned, percent of net assets | [1] | 0.25% |  |  |  | 
| Investment cost | [3] | $ 3,118 |  |  |  | 
| Total investments at fair value |  | 3,518 |  |  |  | 
| Drug Discovery & Development | Phathom Pharmaceuticals Inc [Member] | Warrant Investment | Common Stock [Member] |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment cost |  | 848 | [3],[5],[6],[7],[8],[9] | $ 848 | [4],[10],[11],[12],[13] | 
| Total investments at fair value |  | 101 | [5],[6],[7],[8],[9] | 307 | [10],[11],[12],[13] | 
| Drug Discovery & Development | Phathom Pharmaceuticals Inc [Member] | Senior Secured Debt |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Principal Amount |  | 94,737 | [5],[6],[7],[9],[14],[15],[16] | 87,116 | [10],[11],[13],[17],[18],[19] | 
| Investment cost |  | 95,032 | [3],[5],[6],[7],[9],[14],[15],[16] | 86,075 | [4],[10],[11],[13],[17],[18],[19] | 
| Total investments at fair value |  | 93,916 | [5],[6],[7],[9],[14],[15],[16] | 86,075 | [10],[11],[13],[17],[18],[19] | 
| Consumer & Business Products |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Total investments at fair value |  | $ 2,821 |  | $ 28,099 |  | 
| Consumer & Business Products | Equity |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 0.04% | [1] | 0.03% | [2] | 
| Investment cost |  | $ 663 | [3] | $ 128 | [4] | 
| Total investments at fair value |  | $ 498 |  | $ 447 |  | 
| Consumer & Business Products | Warrant Investment |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 0.17% | [1] | 0.33% | [2] | 
| Investment cost |  | $ 1,712 | [3] | $ 2,145 | [4] | 
| Total investments at fair value |  | 2,323 |  | 4,354 |  | 
| Consumer & Business Products | Debt Investments |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment cost | [4] |  |  | 23,162 |  | 
| Total investments at fair value |  |  |  | $ 23,298 |  | 
| Consumer & Business Products | Senior Secured Debt |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment owned, percent of net assets | [2] |  |  | 1.78% |  | 
| Communications & Networking |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Total investments at fair value |  | $ 101,833 |  | $ 105,490 |  | 
| Communications & Networking | Equity |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment owned, percent of net assets | [2] |  |  | 0.48% |  | 
| Investment cost | [4] |  |  | $ 1,230 |  | 
| Total investments at fair value |  |  |  | $ 6,260 |  | 
| Communications & Networking | Warrant Investment |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 0.01% | [1] | 0.00% | [2] | 
| Investment cost |  | $ 541 | [3] | $ 418 |  | 
| Total investments at fair value |  | 99 |  | 0 |  | 
| Communications & Networking | Debt Investments |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment cost |  | 99,167 | [3] | 97,088 | [4] | 
| Total investments at fair value |  | $ 101,734 |  | $ 99,230 |  | 
| Communications & Networking | Senior Secured Debt |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 7.26% | [1] | 7.58% | [2] | 
| Sustainable And Renewable Technology |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Total investments at fair value |  | $ 15,486 |  | $ 39,387 |  | 
| Sustainable And Renewable Technology | Equity |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 0.57% | [1] | 0.86% | [2] | 
| Investment cost |  | $ 11,508 | [3] | $ 12,412 |  | 
| Total investments at fair value |  | $ 7,984 |  | $ 11,228 |  | 
| Sustainable And Renewable Technology | Warrant Investment |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 0.03% | [1] | 0.08% | [2] | 
| Investment cost |  | $ 723 | [3] | $ 950 | [4] | 
| Total investments at fair value |  | $ 488 |  | 1,034 |  | 
| Sustainable And Renewable Technology | Debt Investments |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment cost | [4] |  |  | 27,159 |  | 
| Total investments at fair value |  |  |  | $ 27,125 |  | 
| Sustainable And Renewable Technology | Senior Secured Debt |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 0.50% | [1] | 2.07% | [2] | 
| Investment cost | [3] | $ 7,222 |  |  |  | 
| Total investments at fair value |  | 7,014 |  |  |  | 
| Drug Delivery |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Total investments at fair value |  | $ 90 |  | $ 368 |  | 
| Drug Delivery | Equity |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 0.01% | [1] | 0.02% | [2] | 
| Investment cost |  | $ 3,638 | [3] | $ 3,638 | [4] | 
| Total investments at fair value |  | $ 89 |  | $ 305 |  | 
| Drug Delivery | Warrant Investment |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 0.00% | [1] | 0.00% | [2] | 
| Investment cost |  | $ 465 | [3] | $ 465 | [4] | 
| Total investments at fair value |  | 1 |  | 63 |  | 
| Electronics & Computer Hardware |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Total investments at fair value |  | $ 21,517 |  | $ 1,040 |  | 
| Electronics & Computer Hardware | Equity |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment owned, percent of net assets | [1] | 0.11% |  |  |  | 
| Investment cost | [3] | $ 2,150 |  |  |  | 
| Total investments at fair value |  | $ 1,521 |  |  |  | 
| Electronics & Computer Hardware | Warrant Investment |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 0.09% | [1] | 0.08% | [2] | 
| Investment cost |  | $ 692 | [3] | $ 658 | [4] | 
| Total investments at fair value |  | 1,273 |  | 1,040 |  | 
| Electronics & Computer Hardware | Debt Investments |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment cost | [3] | 18,171 |  |  |  | 
| Total investments at fair value |  | $ 18,723 |  |  |  | 
| Electronics & Computer Hardware | Senior Secured Debt |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment owned, percent of net assets | [1] | 1.34% |  |  |  | 
| Manufacturing Technology |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Total investments at fair value |  | $ 46,109 |  | 14,995 |  | 
| Manufacturing Technology | Warrant Investment |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment owned, percent of net assets | [1] | 0.30% |  |  |  | 
| Investment cost | [3] | $ 1,112 |  |  |  | 
| Total investments at fair value |  | 4,156 |  |  |  | 
| Manufacturing Technology | Debt Investments |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment cost |  | 41,568 | [3] | $ 14,995 | [4] | 
| Total investments at fair value |  | $ 41,953 |  |  |  | 
| Manufacturing Technology | Senior Secured Debt |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 2.99% | [1] | 1.15% | [2] | 
| Media/Content/Info |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Total investments at fair value |  | $ 35 |  | $ 0 |  | 
| Media/Content/Info | Warrant Investment |  |  |  |  |  | 
| Investment Holdings [Line Items] |  |  |  |  |  | 
| Investment owned, percent of net assets |  | 0.00% | [1] | 0.00% | [2] | 
| Investment cost |  | $ 35 | [3] | $ 348 | [4] | 
| Total investments at fair value |  | $ 35 |  | $ 0 |  | 
|  | 
|  |